Lines Matching refs:shellname
157 char *shellname; in doshell() local
164 if ((shellname = strrchr(shell->string_mb, (int) slash_char)) == NULL) { in doshell()
165 shellname = shell->string_mb; in doshell()
167 shellname++; in doshell()
180 argv[argv_index++] = shellname; in doshell()
244 char *shellname; in exec_vp() local
262 shellname = strrchr(shell->string_mb, (int) slash_char); in exec_vp()
263 if (shellname == NULL) { in exec_vp()
264 shellname = shell->string_mb; in exec_vp()
266 shellname++; in exec_vp()
268 shargv[0] = shellname; in exec_vp()