wait4.2: wait3() is a library function layered on wait4().

On Linux wait3() is a library function implemented on top of wait4().
(Knowing this is useful when using strace(2), for example.)
This commit is contained in:
Michael Kerrisk 2008-09-29 03:51:49 +02:00
parent 986992f30d
commit e0d16ae5e7
1 changed files with 7 additions and 1 deletions

View File

@ -31,7 +31,7 @@
.\" Rewrote much of this page, and removed much duplicated text,
.\" replacing with pointers to wait.2
.\"
.TH WAIT4 2 2007-07-26 "Linux" "Linux Programmer's Manual"
.TH WAIT4 2 2008-09-28 "Linux" "Linux Programmer's Manual"
.SH NAME
wait3, wait4 \- wait for process to change state, BSD style
.SH SYNOPSIS
@ -137,6 +137,12 @@ structure with fields of type
.I struct timeval
defined in
.IR <sys/time.h> .)
On Linux,
.BR wait3 ()
is a library function implemented on top of the
.BR wait4 ()
system call.
.SH "SEE ALSO"
.BR fork (2),
.BR getrusage (2),