Searched refs:shellp (Results 1 – 3 of 3) sorted by relevance
| /netbsd-src/usr.bin/ftp/ |
| H A D | cmds.c | 1429 const char *shellp, *namep; in shell() 1442 shellp = getenv("SHELL"); in shell() 1443 if (shellp == NULL) in shell() 1444 shellp = _PATH_BSHELL; in shell() 1445 namep = strrchr(shellp, '/'); in shell() 1447 namep = shellp; in shell() 1452 fputs(shellp, ttyout); in shell() 1456 execl(shellp, shellnam, "-c", altarg, (char *)0); in shell() 1459 execl(shellp, shellnam, (char *)0); in shell() 1461 warn("Can't execute `%s'", shellp); in shell() 1430 const char *shellp, *namep; shell() local [all...] |
| /netbsd-src/usr.bin/telnet/ |
| H A D | commands.c | 1379 const char *shellp, *shellname; in shell() local 1381 shellp = getenv("SHELL"); in shell() 1382 if (shellp == NULL) in shell() 1383 shellp = "/bin/sh"; in shell() 1384 if ((shellname = strrchr(shellp, '/')) == 0) in shell() 1385 shellname = shellp; in shell() 1389 execl(shellp, shellname, "-c", &saveline[1], NULL); in shell() 1391 execl(shellp, shellname, NULL); in shell()
|
| /netbsd-src/usr.sbin/user/ |
| H A D | user.c | 1009 char *shellp; in valid_shell() local 1022 while ((shellp = getusershell()) != NULL) in valid_shell() 1023 if (strcmp(shellp, shellname) == 0) in valid_shell()
|