1
0
mirror of https://github.com/UzixLS/KernelEx.git synced 2025-07-19 07:21:20 +03:00
Files
KernelEx/kexcrt/strtok_r.c
2018-11-03 16:20:02 +03:00

18 lines
226 B
C

/*
* 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;
}