HP-UX Reference (11i v1 00/12) - 2 System Calls (vol 5)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man2/!!!intro.2
________________________________________________________________
___ ___
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).
HP-UX Release 11i: December 2000 − 1 − Section 2−−455
___
___