Lines Matching refs:str
24 strtok_r(char *str, const char *delim, char **last)
28 if (str == NULL)
29 str = *last;
32 while ((str[0] != '\0') && strchr(delim, str[0])) {
33 str++;
37 if (str[0] == '\0')
41 rval = str;
44 while ((str[0] != '\0') && !strchr(delim, str[0])) {
45 str++;
48 if (str[0] != '\0') {
49 str[0] = '\0';
50 str++;
52 *last = str;
111 strlen(const char *str)
115 for (s = str; *s; ++s);
117 return (s - str);