wait.2: On some architectures, waitpid() is a wrapper that calls wait4().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-11-05 11:45:55 -06:00
parent c33144e666
commit aab65e59ef
1 changed files with 8 additions and 0 deletions

View File

@ -535,6 +535,14 @@ 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).
On some architectures, there is no
.BR waitpid ()
system call;
.\" e.g., i386 has the system call, but not x86-64
instead, this interface is implemented via a C library
wrapper function that calls
.BR wait4 (2).
The raw
.BR waitid ()
system call takes a fifth argument, of type