Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c1549 register char *shellp, *shellname; local
1551 shellp = getenv("SHELL");
1552 if (shellp == NULL)
1553 shellp = "/bin/sh";
1554 if ((shellname = strrchr(shellp, '/')) == 0)
1555 shellname = shellp;
1559 (void) execl(shellp, shellname, "-c", argv[1], 0);
1561 (void) execl(shellp, shellname, 0);
/titanic_44/usr/src/cmd/more/
H A Dmore.c185 int shellp; /* A previous shell command exists */ variable
1307 shellp = 1; in do_shell()
1693 if (!shellp) in expand()