Last change
on this file since 387 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-csrc;charset=UTF-8
|
File size:
248 bytes
|
Line | |
---|
1 | #include <string.h>
|
---|
2 |
|
---|
3 | char *strtok(char *restrict s, const char *restrict sep)
|
---|
4 | {
|
---|
5 | static char *p;
|
---|
6 | if (!s && !(s = p)) return NULL;
|
---|
7 | s += strspn(s, sep);
|
---|
8 | if (!*s) return p = 0;
|
---|
9 | p = s + strcspn(s, sep);
|
---|
10 | if (*p) *p++ = 0;
|
---|
11 | else p = 0;
|
---|
12 | return s;
|
---|
13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.