Lines Matching refs:strings
78 static char **curshell, **shells, *strings; variable
103 if (strings != NULL) in endusershell()
104 free(strings); in endusershell()
105 strings = NULL; in endusershell()
129 free(strings); in initshells()
130 strings = NULL; in initshells()
141 strings = malloc(cp - tmp); in initshells()
142 if(strings == NULL) { in initshells()
147 memcpy(strings, tmp, cp - tmp); in initshells()
148 for(sp = shells, cp = strings; *cp; cp += strlen(cp) + 1, sp++) in initshells()
157 if ((strings = malloc((u_int)statb.st_size)) == NULL) { in initshells()
164 free(strings); in initshells()
165 strings = NULL; in initshells()
169 cp = strings; in initshells()