Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Ddosys.cc157 char *shellname; in doshell() local
164 if ((shellname = strrchr(shell->string_mb, (int) slash_char)) == NULL) { in doshell()
165 shellname = shell->string_mb; in doshell()
167 shellname++; in doshell()
180 argv[argv_index++] = shellname; in doshell()
244 char *shellname; in exec_vp() local
262 shellname = strrchr(shell->string_mb, (int) slash_char); in exec_vp()
263 if (shellname == NULL) { in exec_vp()
264 shellname = shell->string_mb; in exec_vp()
266 shellname++; in exec_vp()
[all …]
/illumos-gate/usr/src/cmd/pfexec/
H A Dpfexec.c59 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 Dcommands.c1532 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()