Searched defs:stat_loc (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dwaitpid.c78 waitpid(pid_t pid, int *stat_loc, int options) argument
104 if (stat_loc)
105 *stat_loc = wstat(info.si_code, info.si_status);
111 wait(int *stat_loc) argument
113 return (waitpid(-1, stat_loc, 0));
117 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) argument
179 if (stat_loc)
180 *stat_loc = wstat(info.si_code, info.si_status);
188 wait3(int *stat_loc, int options, struct rusage *rp) argument
190 return (wait4(0, stat_loc, option
[all...]
/illumos-gate/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c103 int stat_loc; local
236 wret = waitpid(pid, &stat_loc, 0);
252 if (WIFSIGNALED(stat_loc)) {
254 command, argv[0], strsignal(WTERMSIG(stat_loc)));
255 if (WCOREDUMP(stat_loc)) {
269 return (WEXITSTATUS(stat_loc));
/illumos-gate/usr/src/cmd/cron/
H A Dcrontab.c133 int stat_loc; local
367 wait(&stat_loc);
368 if ((stat_loc & 0xFF00) != 0)
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c393 int stat_loc; local
447 (void) waitpid(child_pid, &stat_loc, WUNTRACED);
449 if (WIFEXITED(stat_loc)) {
453 WEXITSTATUS(stat_loc));
456 res = WEXITSTATUS(stat_loc);
457 } else if (WIFSIGNALED(stat_loc)) {
461 WTERMSIG(stat_loc));
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetaclust.c117 int i, n, ret, stat_loc = 0; local
164 while ((ret = waitpid(c_pid, &stat_loc, WNOHANG)) < 0) {
816 int stat_loc = 0; local
845 while ((ret_val = waitpid(c_pid, &stat_loc, 0)) < 0) {
852 exit(WEXITSTATUS(stat_loc));
/illumos-gate/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c250 int stat_loc; local
253 (void) waitpid(pid, &stat_loc, 0);
254 if (WTERMSIG(stat_loc)) {
255 if (WCOREDUMP(stat_loc)) {
260 itm_error(msgstr, strsignal(WTERMSIG(stat_loc)));
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_handlers.c173 int stat_loc; local
245 while (waitpid(pid, &stat_loc, 0) < 0) {
252 resp->mmr_exitval = WEXITSTATUS(stat_loc);
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c1172 uint_t stat_loc; local
1189 waitstat = waitpid(pid, (int *)&stat_loc, 0);
1191 } while ((!WIFEXITED(stat_loc) &&
1192 !WIFSIGNALED(stat_loc)) || (waitstat == 0));
1194 exit_status = WEXITSTATUS(stat_loc);

Completed in 78 milliseconds