mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-11-24 04:09:43 +00:00
ea224be6aa
that and callers wind up typecasting it back.
19 lines
353 B
C
19 lines
353 B
C
/* vi: set sw=4 ts=4: */
|
|
/*
|
|
* skip_whitespace implementation for busybox
|
|
*
|
|
* Copyright (C) 2003 Manuel Novoa III <mjn3@codepoet.org>
|
|
*
|
|
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
|
*/
|
|
|
|
#include <ctype.h>
|
|
#include "libbb.h"
|
|
|
|
char *skip_whitespace(const char *s)
|
|
{
|
|
while (isspace(*s)) ++s;
|
|
|
|
return (char *) s;
|
|
}
|