strtok

strtok, strtok_s

Defined in header <string.h>
(1)
char *strtok( char *str, const char *delim );
(until C99)
char *strtok( char *restrict str, const char *restrict delim );
(since C99)
char *strtok_s(char *restrict str, rsize_t *restrict strmax,
     const char *restrict delim, char **restrict ptr);
(2) (since C11)