Waits for a child process to stop or terminate. Format #include <wait.h> pid_t wait4 (pid_t process_id, union wait *status_location, int options, struct rusage *resource_usage);