shells
static int shells(int, char *[]);
{ "shells", shells, },
char **shells; /* List of shells */
return shell_path(cnf->shelldir, cnf->shells, sh ? sh : cnf->shell_default);
char *shell = shell_path(cnf->shelldir, cnf->shells, arg->val);
static char *shell_path(char const * path, char *shells[], char *sh);
shell_path(char const * path, char *shells[], char *sh)
for (i = 0; i < _UC_MAXSHELLS && shells[i] != NULL; i++) {
sprintf(shellpath, "%s/%s", p, shells[i]);