Home
last modified time | relevance | path

Searched refs:nshells (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/lib/libc/gen/
H A Dgetusershell.c86 size_t nshells, nalloc, linesize; in initshells() local
98 nshells = 0; in initshells()
107 if (!(shells[nshells] = strdup(line))) in initshells()
110 if (nshells + 1 == nalloc) { in initshells()
117 nshells++; in initshells()
120 shells[nshells] = NULL; in initshells()
126 while (nshells) in initshells()
127 free(shells[nshells--]); in initshells()