1 /* vi: set sw=4 ts=4: */
3 * skip_whitespace implementation for busybox
5 * Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
7 * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
12 char* FAST_FUNC skip_whitespace(const char *s)
14 /* NB: isspace('\0') returns 0 */
15 while (isspace(*s)) ++s;
20 char* FAST_FUNC skip_non_whitespace(const char *s)
22 while (*s && !isspace(*s)) ++s;