Lines Matching defs:shell
64 const char * name; /* Name of shell */
687 getshellbyname(const char * shell)
691 const char * p = strrchr(shell, '/');
693 p = p ? p+1 : shell;
711 * Determine the type of shell our parent process is
727 char * shell = getenv("SHELL");
735 if (shell != NULL && stat(shell, &st) != -1) {
741 /* $SHELL is actual shell? */
743 return getshellbyname(shell);