mirror of https://github.com/mkerrisk/man-pages
wait.2: Remove erroneous statement that waitpid() is implemented via wait4()
There is a fallback to wait4(), but only if the kernel does not provide a waitpid() system call. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3e752456ba
commit
3fd5b1e7d2
|
@ -535,13 +535,6 @@ flag is automatically implied if the child is being ptraced.
|
|||
is actually a library function that (in glibc) is implemented as a call to
|
||||
.BR wait4 (2).
|
||||
|
||||
Within glibc,
|
||||
.\" A waitpid() system call remains, with a comment noting that
|
||||
.\" "waitpid() should be * implemented by calling sys_wait4() from libc.a"
|
||||
.BR waitpid ()
|
||||
is a wrapper function that invokes
|
||||
.BR wait (2).
|
||||
|
||||
The raw
|
||||
.BR waitid ()
|
||||
system call takes a fifth argument, of type
|
||||
|
|
Loading…
Reference in New Issue