#include <sys/wait.h> pid_t pid = waitpid((pid_t pid, int *status, int options);
Currently, this function always fails. A -1 is returned and errno
is set to indicate there are no children.
If successful, this function returns the exit status of the child. If
there is an error, these functions return -1 and set errno
to
indicate the error type.
Currently, this function always fails.
not ANSI, POSIX
Go to the first, previous, next, last section, table of contents.