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

/freebsd-10.2-release/contrib/tnftp/src/
H A Dcmds.c1431 const char *shellp, *namep; local
1444 shellp = getenv("SHELL");
1445 if (shellp == NULL)
1446 shellp = _PATH_BSHELL;
1447 namep = strrchr(shellp, '/');
1449 namep = shellp;
1454 fputs(shellp, ttyout);
1458 execl(shellp, shellnam, "-c", altarg, (char *)0);
1461 execl(shellp, shellnam, (char *)0);
1463 warn("Can't execute `%s'", shellp);
[all...]
/freebsd-10.2-release/crypto/heimdal/appl/telnet/telnet/
H A Dcommands.c1296 char *shellp, *shellname;
1298 shellp = getenv("SHELL");
1299 if (shellp == NULL)
1300 shellp = "/bin/sh";
1301 if ((shellname = strrchr(shellp, '/')) == 0)
1302 shellname = shellp;
1306 execl(shellp, shellname, "-c", &saveline[1], NULL);
1308 execl(shellp, shellname, NULL);
1290 char *shellp, *shellname; local
/freebsd-10.2-release/contrib/telnet/telnet/
H A Dcommands.c1371 const char *shellp, *shellname;
1373 shellp = getenv("SHELL");
1374 if (shellp == NULL)
1375 shellp = "/bin/sh";
1376 if ((shellname = strrchr(shellp, '/')) == 0)
1377 shellname = shellp;
1381 execl(shellp, shellname, "-c", &saveline[1], (char *)0);
1383 execl(shellp, shellname, (char *)0);
1365 const char *shellp, *shellname; local

Completed in 58 milliseconds