3
0

skip_whitespace.c 353 B

123456789101112131415161718
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * skip_whitespace implementation for busybox
  4. *
  5. * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
  6. *
  7. * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  8. */
  9. #include <ctype.h>
  10. #include "libbb.h"
  11. char *skip_whitespace(const char *s)
  12. {
  13. while (isspace(*s)) ++s;
  14. return (char *) s;
  15. }