Lines Matching refs:shellname
156 register char *shellname; in doshell() local
163 if ((shellname = strrchr(shell->string_mb, (int) slash_char)) == NULL) { in doshell()
164 shellname = shell->string_mb; in doshell()
166 shellname++; in doshell()
179 argv[argv_index++] = shellname; in doshell()
243 register char *shellname; in exec_vp() local
261 shellname = strrchr(shell->string_mb, (int) slash_char); in exec_vp()
262 if (shellname == NULL) { in exec_vp()
263 shellname = shell->string_mb; in exec_vp()
265 shellname++; in exec_vp()
267 shargv[0] = shellname; in exec_vp()