/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | waitpid.c | 78 waitpid(pid_t pid, int *stat_loc, int options) in waitpid() argument 104 if (stat_loc) in waitpid() 105 *stat_loc = wstat(info.si_code, info.si_status); in waitpid() 111 wait(int *stat_loc) in wait() argument 113 return (waitpid(-1, stat_loc, 0)); in wait() 117 wait4(pid_t pid, int *stat_loc, int options, struct rusage *rp) in wait4() argument 179 if (stat_loc) in wait4() 180 *stat_loc = wstat(info.si_code, info.si_status); in wait4() 188 wait3(int *stat_loc, int options, struct rusage *rp) in wait3() argument 190 return (wait4(0, stat_loc, options, rp)); in wait3()
|
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/ |
H A D | bsd-waitpid.c | 35 waitpid(int pid, int *stat_loc, int options) in waitpid() argument 48 if (stat_loc) in waitpid() 49 *stat_loc = (int) statusp.w_status; in waitpid()
|
/titanic_44/usr/src/cmd/abi/apptracecmd/ |
H A D | apptrace.c | 103 int stat_loc; in main() local 236 wret = waitpid(pid, &stat_loc, 0); in main() 252 if (WIFSIGNALED(stat_loc)) { in main() 254 command, argv[0], strsignal(WTERMSIG(stat_loc))); in main() 255 if (WCOREDUMP(stat_loc)) { in main() 269 return (WEXITSTATUS(stat_loc)); in main()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/umount/ |
H A D | umount.c | 95 int stat_loc; in main() local 243 if (wait(&stat_loc) == -1) { in main() 248 if (!WIFEXITED(stat_loc)) { in main() 253 xx = WEXITSTATUS(stat_loc); in main()
|
/titanic_44/usr/src/cmd/fs.d/autofs/ |
H A D | autod_mount.c | 393 int stat_loc; in automountd_do_fork_exec() local 447 (void) waitpid(child_pid, &stat_loc, WUNTRACED); in automountd_do_fork_exec() 449 if (WIFEXITED(stat_loc)) { in automountd_do_fork_exec() 453 WEXITSTATUS(stat_loc)); in automountd_do_fork_exec() 456 res = WEXITSTATUS(stat_loc); in automountd_do_fork_exec() 457 } else if (WIFSIGNALED(stat_loc)) { in automountd_do_fork_exec() 461 WTERMSIG(stat_loc)); in automountd_do_fork_exec()
|
/titanic_44/usr/src/cmd/ssh/include/ |
H A D | bsd-waitpid.h | 53 pid_t waitpid(int pid, int *stat_loc, int options);
|
/titanic_44/usr/src/cmd/geniconvtbl/ |
H A D | itmcomp.c | 250 int stat_loc; in wait_child() local 253 (void) waitpid(pid, &stat_loc, 0); in wait_child() 254 if (WTERMSIG(stat_loc)) { in wait_child() 255 if (WCOREDUMP(stat_loc)) { in wait_child() 260 itm_error(msgstr, strsignal(WTERMSIG(stat_loc))); in wait_child()
|
/titanic_44/usr/src/cmd/cron/ |
H A D | crontab.c | 133 int stat_loc; in main() local 367 wait(&stat_loc); in main() 368 if ((stat_loc & 0xFF00) != 0) in main()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/mount/ |
H A D | mount.c | 207 int stat_loc; in main() local 1095 int stat_loc; in dobackmnt() local 1134 if (wait(&stat_loc) == -1) { in dobackmnt() 1139 if (!WIFEXITED(stat_loc)) { in dobackmnt() 1144 xx = WEXITSTATUS(stat_loc); in dobackmnt()
|
/titanic_44/usr/src/cmd/modload/ |
H A D | drvsubr.c | 1172 uint_t stat_loc; in exec_command() local 1189 waitstat = waitpid(pid, (int *)&stat_loc, 0); in exec_command() 1191 } while ((!WIFEXITED(stat_loc) && in exec_command() 1192 !WIFSIGNALED(stat_loc)) || (waitstat == 0)); in exec_command() 1194 exit_status = WEXITSTATUS(stat_loc); in exec_command()
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_fscache.c | 788 int stat_loc; in fscache_server_alive() local 855 (void) waitpid(child_pid, &stat_loc, WUNTRACED); in fscache_server_alive()
|
/titanic_44/usr/src/lib/libc/port/ |
H A D | llib-lc | 1089 pid_t wait(int *stat_loc); 1090 pid_t waitpid(pid_t pid, int *stat_loc, int options);
|