Lines Matching refs:str
51 ** prepstrlist (str, delim)
53 ** 'str' is a list of substrings delimeted by 'delim'
58 char *prepstrlist (const char *str, const char *delim)
65 if ( str == NULL )
68 len = strlen (str);
74 for ( *p++ = '\0'; *str; str++ )
76 if ( strchr (delim, *str) == NULL )
77 *p++ = *str;
93 ** isinlist (str, list)
94 ** check if 'list' contains 'str'
96 int isinlist (const char *str, const char *list)
102 if ( str == NULL || *str == '\0' )
109 if ( strcmp (str, list) == 0 )