HP-UX Reference (11i v1 05/09) - 2 System Calls (vol 5)
w
wait3(2) wait3(2)
HP-UX EXTENSIONS
SYNOPSIS
pid_t wait3(int *stat_loc, int options, int *reserved);
DESCRIPTION
The wait3() system call is equivalent to waitpid()
with the value of pid equal to zero. The third
parameter to
wait3(), reserved, is currently unused and must always be a null pointer.
ERRORS
If wait3() fails, errno is set to one of the following values.
[EINVAL] The options argument to
waitpid() or wait3() is invalid.
[EINVAL]
wait3() was passed a nonnull pointer value for its third argument.
WARNINGS
The behavior of
wait3() is affected if the SIGCLD signal is set to SIG_IGN. See the WARNINGS sec-
tion of signal(5). Signal handlers that cause system calls to be restarted can affect the [EINTR] condition
described above (see bsdproc(3C), sigaction(2), and sigvector (2)).
AUTHOR
wait3() was developed by HP, AT&T, and the University of California, Berkeley.
SEE ALSO
Exit conditions ($?) in sh(1); exec(2), exit(2), fork(2), pause(2), ptrace(2), signal(5), thread_safety(5).
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 2−−477