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