Home
last modified time | relevance | path

Searched refs:shellp (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/tnftp/src/
H A Dcmds.c1431 const char *shellp, *namep; in shell() local
1443 shellp = getenv("SHELL"); in shell()
1444 if (shellp == NULL) in shell()
1445 shellp = _PATH_BSHELL; in shell()
1446 namep = strrchr(shellp, '/'); in shell()
1448 namep = shellp; in shell()
1453 fputs(shellp, ttyout); in shell()
1457 execl(shellp, shellnam, "-c", altarg, (char *)0); in shell()
1460 execl(shellp, shellnam, (char *)0); in shell()
1462 warn("Can't execute `%s'", shellp); in shell()
/freebsd/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c1290 char *shellp, *shellname; in shell() local
1292 shellp = getenv("SHELL"); in shell()
1293 if (shellp == NULL) in shell()
1294 shellp = "/bin/sh"; in shell()
1295 if ((shellname = strrchr(shellp, '/')) == 0) in shell()
1296 shellname = shellp; in shell()
1300 execl(shellp, shellname, "-c", &saveline[1], NULL); in shell()
1302 execl(shellp, shellname, NULL); in shell()
/freebsd/contrib/telnet/telnet/
H A Dcommands.c1360 const char *shellp, *shellname; in shell() local
1362 shellp = getenv("SHELL"); in shell()
1363 if (shellp == NULL) in shell()
1364 shellp = "/bin/sh"; in shell()
1365 if ((shellname = strrchr(shellp, '/')) == 0) in shell()
1366 shellname = shellp; in shell()
1370 execl(shellp, shellname, "-c", &saveline[1], (char *)0); in shell()
1372 execl(shellp, shellname, (char *)0); in shell()