Symbol: shells
crypto/heimdal/lib/roken/getusershell.c
100
if (shells != NULL)
crypto/heimdal/lib/roken/getusershell.c
101
free(shells);
crypto/heimdal/lib/roken/getusershell.c
102
shells = NULL;
crypto/heimdal/lib/roken/getusershell.c
127
free(shells);
crypto/heimdal/lib/roken/getusershell.c
128
shells = NULL;
crypto/heimdal/lib/roken/getusershell.c
137
shells = calloc(nsh + 1, sizeof(*shells));
crypto/heimdal/lib/roken/getusershell.c
138
if(shells == NULL)
crypto/heimdal/lib/roken/getusershell.c
143
free(shells);
crypto/heimdal/lib/roken/getusershell.c
144
shells = NULL;
crypto/heimdal/lib/roken/getusershell.c
148
for(sp = shells, cp = strings; *cp; cp += strlen(cp) + 1, sp++)
crypto/heimdal/lib/roken/getusershell.c
161
shells = calloc((unsigned)statb.st_size / 3, sizeof (char *));
crypto/heimdal/lib/roken/getusershell.c
162
if (shells == NULL) {
crypto/heimdal/lib/roken/getusershell.c
168
sp = shells;
crypto/heimdal/lib/roken/getusershell.c
183
return (shells);
crypto/heimdal/lib/roken/getusershell.c
78
static char **curshell, **shells, *strings;
usr.bin/getent/getent.c
70
static int shells(int, char *[]);
usr.bin/getent/getent.c
93
{ "shells", shells, },
usr.sbin/pw/pw_user.c
1169
if (cmdcnf->shells == NULL)
usr.sbin/pw/pw_user.c
1170
cmdcnf->shells = cfg->shells;
usr.sbin/pw/pw_user.c
1740
shell = shell_path(cnf->shelldir, cnf->shells, shell);
usr.sbin/pw/pw_user.c
440
shell_path(char const * path, char *shells[], char *sh)
usr.sbin/pw/pw_user.c
461
for (i = 0; i < _UC_MAXSHELLS && shells[i] != NULL; i++) {
usr.sbin/pw/pw_user.c
462
snprintf(shellpath, sizeof(shellpath), "%s/%s", p, shells[i]);
usr.sbin/pw/pw_user.c
478
return shell_path(cnf->shelldir, cnf->shells, cnf->shell_default);
usr.sbin/pw/pw_user.c
81
static char *shell_path(char const * path, char *shells[], char *sh);
usr.sbin/pw/pwupd.h
65
char **shells; /* List of shells */