Home
last modified time | relevance | path

Searched refs:stat_loc (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/lib/libc/port/gen/
H A Dwaitpid.c78 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_50/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dbsd-waitpid.c35 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_50/usr/src/cmd/abi/apptracecmd/
H A Dapptrace.c103 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_50/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c393 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_50/usr/src/cmd/ssh/include/
H A Dbsd-waitpid.h53 pid_t waitpid(int pid, int *stat_loc, int options);
/titanic_50/usr/src/cmd/geniconvtbl/
H A Ditmcomp.c250 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_50/usr/src/cmd/cron/
H A Dcrontab.c133 int stat_loc; in main() local
367 wait(&stat_loc); in main()
368 if ((stat_loc & 0xFF00) != 0) in main()
/titanic_50/usr/src/cmd/modload/
H A Ddrvsubr.c1172 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_50/usr/src/lib/libc/port/
H A Dllib-lc1093 pid_t wait(int *stat_loc);
1094 pid_t waitpid(pid_t pid, int *stat_loc, int options);