5 /* Written by Niels Möller <nisse@lysator.liu.se>
7 * This file is hereby placed in the public domain.
10 /* FIXME: What is this function supposed to do? My guess is that it is
11 * like strchr, but returns a pointer to the NUL character, not a NULL
12 * pointer, if the character isn't found. */
14 char *strchrnul(const char *s
, int c
)
17 while (*p
&& (*p
!= c
))