Lines Matching refs:strings
80 static char **curshell, **shells, *strings; variable
105 if (strings != NULL) in endusershell()
106 free(strings); in endusershell()
107 strings = NULL; in endusershell()
131 free(strings); in initshells()
132 strings = NULL; in initshells()
143 strings = malloc(cp - tmp); in initshells()
144 if(strings == NULL) { in initshells()
149 memcpy(strings, tmp, cp - tmp); in initshells()
150 for(sp = shells, cp = strings; *cp; cp += strlen(cp) + 1, sp++) in initshells()
159 if ((strings = malloc((u_int)statb.st_size)) == NULL) { in initshells()
166 free(strings); in initshells()
167 strings = NULL; in initshells()
171 cp = strings; in initshells()