table of contents
other versions
STRSEP(9) | Basic C Library Functions | STRSEP(9) |
NAME¶
strsep - Split a string into tokensSYNOPSIS¶
char * strsep(char ** s, const char * ct);
ARGUMENTS¶
char ** sThe string to be searched
const char * ct
The characters to search for
DESCRIPTION¶
strsep updates s to point after the token, ready for the next call.It returns empty tokens, too, behaving exactly like the libc function of that name. In fact, it was stolen from glibc2 and de-fancy-fied. Same semantics, slimmer shape. ;)
COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |