Home
last modified time | relevance | path

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

/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Ddefs.h133 char *shpath; member
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dinit.c1399 shp->gd->shpath = 0; in sh_init()
1402 shp->gd->shpath = strdup(buff); in sh_init()
1408 shp->gd->shpath = strdup(buff); in sh_init()
1414 shp->gd->shpath = strdup(cp); in sh_init()
1422 shp->gd->shpath = strdup(stakptr(offset)); in sh_init()
H A Dxec.c3742 if(!shp->gd->shpath) in run_subshell()
3743 shp->gd->shpath = pathshell(); in run_subshell()
3744 pid = spawnveg(shp->shpath,arglist,envlist,grp); in run_subshell()
4020 if(!shp->gd->shpath) in sh_ntfork()
4021 shp->gd->shpath = pathshell(); in sh_ntfork()
4022 spawnpid = path_spawn(shp,shp->gd->shpath,&argv[-1],arge,pp,(grp<<1)|1); in sh_ntfork()