wait(3B)
wait, wait3 - wait for child processes to stop or terminate
As shipped in IRIX 6.5. First release of IRIX 6.5.
NAME wait, wait3 - wait for child processes to stop or terminate SYNOPSIS #include <sys/types.h> #include <sys/wait.h> #include <sys/resource.h> int wait (); int wait3 (); To use either of these routines you must either 1) #define _BSD_COMPAT before including <sys/wait.h>, or 2) specify it in the compile command or makefile: cc -D_BSD_COMPAT -o prog prog.c DESCRIPTION These two routines are fully described in wait(2). When BSD compatibility mode is enabled (via the definition of _BSD_COMPAT) the only change is in the prototype declaration of these routines in sys/wait.h. Historically, many BSD derived programs pass as the status pointer, a pointer to a union wait, rather than a pointer to int. Since these programs would not properly compile if prototyping was in effect, when BSD compatibility mode is enabled, no prototypes are declared. SEE ALSO wait(2).