Searched refs:shellname (Results 1 – 3 of 3) sorted by relevance
| /illumos-gate/usr/src/cmd/make/lib/mksh/ |
| H A D | dosys.cc | 213 char *shellname; in doshell() local 220 if ((shellname = strrchr(shell->string_mb, (int) slash_char)) == NULL) { in doshell() 221 shellname = shell->string_mb; in doshell() 223 shellname++; in doshell() 226 argv[argv_index++] = shellname; in doshell() 290 char *shellname; in spawn_vp() local 312 shellname = strrchr(shell->string_mb, (int) slash_char); in spawn_vp() 313 if (shellname == NULL) { in spawn_vp() 314 shellname = shell->string_mb; in spawn_vp() 316 shellname++; in spawn_vp() [all …]
|
| /illumos-gate/usr/src/cmd/pfexec/ |
| H A D | pfexec.c | 59 shellname(const char *name, char buf[MAXPATHLEN]) in shellname() function 126 if (shellname(getexecname(), pathbuf) == RES_OK) in main() 129 switch (shellname(cmd, pathbuf)) { in main()
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
| H A D | commands.c | 1532 char *shellp, *shellname; in shell() local 1537 if ((shellname = strrchr(shellp, '/')) == 0) in shell() 1538 shellname = shellp; in shell() 1540 shellname++; in shell() 1542 (void) execl(shellp, shellname, "-c", argv[1], 0); in shell() 1544 (void) execl(shellp, shellname, 0); in shell()
|