Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libbc/libc/gen/common/
H A Dgetusershell.c25 static char **curshell; variable
37 if (curshell == NULL) in getusershell()
38 curshell = initshells(); in getusershell()
39 ret = *curshell; in getusershell()
41 curshell++; in getusershell()
55 curshell = NULL; in endusershell()
62 curshell = initshells(); in setusershell()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dgetusershell.c81 static char **curshell; variable
92 if (curshell == NULL) in getusershell()
93 curshell = initshells(); in getusershell()
94 ret = *curshell; in getusershell()
96 curshell++; in getusershell()
110 curshell = NULL; in endusershell()
117 curshell = initshells(); in setusershell()