iPXE
|
Go to the source code of this file.
Functions | |
FILE_LICENCE (GPL2_ONLY) | |
char * | strpbrk (const char *cs, const char *ct) |
strpbrk - Find the first occurrence of a set of characters @cs: The string to be searched @ct: The characters to search for More... | |
char * | strsep (char **s, const char *ct) |
strsep - Split a string into tokens @s: The string to be searched @ct: The characters to search for More... | |
FILE_LICENCE | ( | GPL2_ONLY | ) |
char* strpbrk | ( | const char * | cs, |
const char * | ct | ||
) |
strpbrk - Find the first occurrence of a set of characters @cs: The string to be searched @ct: The characters to search for
Definition at line 47 of file stringextra.c.
Referenced by strsep().
char* strsep | ( | char ** | s, |
const char * | ct | ||
) |
strsep - Split a string into tokens @s: The string to be searched @ct: The characters to search for
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. ;)
Definition at line 73 of file stringextra.c.
References end, NULL, and strpbrk().
Referenced by parse_kv(), and parse_net_args().