Home | History | Annotate | Download | only in roken

Lines Matching refs:s1

45 strtok_r(char *s1, const char *s2, char **lasts)
49 if (s1 == NULL)
50 s1 = *lasts;
51 while(*s1 && strchr(s2, *s1))
52 ++s1;
53 if(*s1 == '\0')
55 ret = s1;
56 while(*s1 && !strchr(s2, *s1))
57 ++s1;
58 if(*s1)
59 *s1++ = '\0';
60 *lasts = s1;