|
Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
|

Go to the source code of this file.
Functions | |
| char * | __strtok_r (char *, const char *, char **) |
| char * | strtok (char *s, const char *delim) |
| Finds the next token in a null-terminated byte string pointed to by s. More... | |
| char * __strtok_r | ( | char * | s, |
| const char * | delim, | ||
| char ** | last | ||
| ) |
| char* strtok | ( | char * | s, |
| const char * | delim | ||
| ) |
Finds the next token in a null-terminated byte string pointed to by s.
Finds the next token in a null-terminated byte string pointed to by s. The separator characters are identified by null-terminated byte string pointed to by delim. This function is designed to be called multiples times to obtain successive tokens from the same string.
The behavior is undefined if either s or delim is not a pointer to a null-terminated byte string.
| s | pointer to the null-terminated byte string to tokenize |
| delim | pointer to the null-terminated byte string identifying delimiters |
Definition at line 109 of file strtok.c.
References __strtok_r().