Home
last modified time | relevance | path

Searched refs:shpath (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libc/port/stdio/
H A Dsystem.c128 const char *shpath = _PATH_BSHELL; in system() local
134 if (stat64(shpath, &buf) != 0) { in system()
239 error = posix_spawn(&cu.pid, shpath, NULL, &attr, in system()
H A Dpopen.c93 const char *shpath = _PATH_BSHELL; in popen() local
115 if (access(shpath, X_OK)) /* XPG4 Requirement: */ in popen()
116 shpath = ""; /* force child to fail immediately */ in popen()
/titanic_50/usr/src/lib/libc/port/threads/
H A Dspawn.c902 const char *shpath = _PATH_BSHELL; in posix_spawn_pipe_np() local
909 if (access(shpath, X_OK)) /* XPG4 Requirement: */ in posix_spawn_pipe_np()
910 shpath = ""; /* force child to fail immediately */ in posix_spawn_pipe_np()
941 error = posix_spawn(pidp, shpath, fact, attr, in posix_spawn_pipe_np()
/titanic_50/usr/src/lib/libshell/common/sh/
H A Dinit.c1154 shp->shpath = 0; in sh_init()
1157 shp->shpath = strdup(buff); in sh_init()
1163 shp->shpath = strdup(buff); in sh_init()
1169 shp->shpath = strdup(cp); in sh_init()
1177 shp->shpath = strdup(stakptr(offset)); in sh_init()
H A Dxec.c2947 if(!sh.shpath) in run_subshell()
2948 sh.shpath = pathshell(); in run_subshell()
2949 pid = spawnveg(sh.shpath,arglist,envlist,grp); in run_subshell()
3214 if(!shp->shpath) in sh_ntfork()
3215 shp->shpath = pathshell(); in sh_ntfork()
3216 spawnpid = path_spawn(shp->shpath,&argv[-1],arge,pp,(grp<<1)|1); in sh_ntfork()
/titanic_50/usr/src/lib/libshell/common/include/
H A Ddefs.h144 char *shpath; /* path name of shell */ \