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

20 lines
230 B
C
Executable File

/*
* strtok.c
*/
char *strsep(char **stringp, const char *delim);
char *strtok(char *s, const char *delim)
{
static char *holder;
if (s)
holder = s;
do {
s = strsep(&holder, delim);
} while (s && !*s);
return s;
}