previous | start | next

Waiting for a child

The parent has several options for waiting for a child.

        #include <sys/types.h>
        #include <sys/wait.h>

        pid_t waitpid(pid_t pid, int *status, int options);

     


previous | start | next