From e0d16ae5e73b48bb313c28873b0d9adb0344b9b9 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 29 Sep 2008 03:51:49 +0200 Subject: [PATCH] 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.) --- man2/wait4.2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/man2/wait4.2 b/man2/wait4.2 index 7df1d77b4..eafb109e0 100644 --- a/man2/wait4.2 +++ b/man2/wait4.2 @@ -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 .) + +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),