aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-08-08 02:27:54 +1000
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-08-08 05:54:16 +1000
commit3fd5b1e7d2c8bb4411c538b67c97790773aa094f (patch)
tree7eec4c8a4705fa9601be5adf498c4b30a7d193a6
parent3e752456ba8efa596d5fe6c0fe4a563e09934363 (diff)
downloadman-pages-3fd5b1e7d2c8bb4411c538b67c97790773aa094f.tar.gz
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>
-rw-r--r--man2/wait.27
1 files changed, 0 insertions, 7 deletions
diff --git a/man2/wait.2 b/man2/wait.2
index 3457e1e81e..cae6387865 100644
--- a/man2/wait.2
+++ b/man2/wait.2
@@ -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