char *strtok_r(char *s1, const char *s2, char **s3);
strtok_r is a reentrant version of the function strtok where the state is maintained in the object of type char * pointed to by s3.
strtok_r conforms to POSIX.1-2008 and is commonly found in Linux and BSD C libraries.