source:
bootcd/isolinux/syslinux-6.03/com32/lib/strtok.c
Last change on this file was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 172 bytes |
Rev | Line | |
---|---|---|
[e16e8f2] | 1 | /* |
2 | * strtok.c | |
3 | */ | |
4 | ||
5 | #include <string.h> | |
6 | ||
7 | char *strtok(char *s, const char *delim) | |
8 | { | |
9 | static char *holder; | |
10 | ||
11 | if (s) | |
12 | holder = s; | |
13 | ||
14 | return strsep(&holder, delim); | |
15 | } |
Note: See TracBrowser
for help on using the repository browser.