Searched refs:shellname (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/cmd/make/lib/mksh/ |
H A D | dosys.cc | 157 register 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 register 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 …]
|
/titanic_41/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()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | commands.c | 1549 register char *shellp, *shellname; local 1554 if ((shellname = strrchr(shellp, '/')) == 0) 1555 shellname = shellp; 1557 shellname++; 1559 (void) execl(shellp, shellname, "-c", argv[1], 0); 1561 (void) execl(shellp, shellname, 0);
|