mirror of
https://github.com/UzixLS/KernelEx.git
synced 2025-07-19 07:21:20 +03:00
18 lines
226 B
C
Executable File
18 lines
226 B
C
Executable File
/*
|
|
* strtok_r.c
|
|
*/
|
|
|
|
char *strsep(char **stringp, const char *delim);
|
|
|
|
char *strtok_r(char *s, const char *delim, char **holder)
|
|
{
|
|
if (s)
|
|
*holder = s;
|
|
|
|
do {
|
|
s = strsep(holder, delim);
|
|
} while (s && !*s);
|
|
|
|
return s;
|
|
}
|