wait3()

자식 프로세스의 종료를 기다리며, 종료된 프로세스의 상태와 자원 사용량을 알려 줌

pid_t wait3(int *stat_loc, int options, struct rusage *rusage);

인자

리턴값

wait4()

특정 자식 프로세스의 종료를 기다리며, 종료된 프로세스의 상태와 자원 사용량을 알려 줌

pid_t wait4(pid_t pid, int *stat_loc, int options, struct rusage *rusage);