Lines Matching defs:shell
65 const char * name; /* Name of shell */
664 getshellbyname(const char * shell)
668 const char * p = strrchr(shell, '/');
670 p = p ? p+1 : shell;
688 * Determine the type of shell our parent process is
705 char * shell = getenv("SHELL");
707 if (shell != NULL && stat(shell, &st) != -1) {
711 /* $SHELL is actual shell? */
713 return getshellbyname(shell);