[PATCH] [RFC] add wait3(2) when wait4(2) is mentioned

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Mike Frysinger <vapier@xxxxxxxxxxxx>

Some places in the docs refer to wait3(2) when wait4(2) shows up,
but not all.  Update those places too.

Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx>
---
I make this RFC because I'm not sure if we want this, and because
there's the same argument about whether any (general) mention of
wait, wait3, wai4, waitid, or waitpid should make sure to list all
of them explicitly.

 man2/_exit.2       | 1 +
 man2/getrusage.2   | 1 +
 man2/wait.2        | 1 +
 man7/credentials.7 | 1 +
 4 files changed, 4 insertions(+)

diff --git a/man2/_exit.2 b/man2/_exit.2
index 5ed054aeeca3..82406e2aac34 100644
--- a/man2/_exit.2
+++ b/man2/_exit.2
@@ -125,6 +125,7 @@ in order to terminate all of the threads in a process.
 .BR fork (2),
 .BR kill (2),
 .BR wait (2),
+.BR wait3 (2),
 .BR wait4 (2),
 .BR waitpid (2),
 .BR atexit (3),
diff --git a/man2/getrusage.2 b/man2/getrusage.2
index 784848abe8ea..e309e75fd77b 100644
--- a/man2/getrusage.2
+++ b/man2/getrusage.2
@@ -268,5 +268,6 @@ in
 .BR getrlimit (2),
 .BR times (2),
 .BR wait (2),
+.BR wait3 (2),
 .BR wait4 (2),
 .BR clock (3)
diff --git a/man2/wait.2 b/man2/wait.2
index 7cf9a47e5df3..0e237040f5fa 100644
--- a/man2/wait.2
+++ b/man2/wait.2
@@ -694,6 +694,7 @@ main(int argc, char *argv[])
 .BR ptrace (2),
 .BR sigaction (2),
 .BR signal (2),
+.BR wait3 (2),
 .BR wait4 (2),
 .BR pthread_create (3),
 .BR credentials (7),
diff --git a/man7/credentials.7 b/man7/credentials.7
index cf7764bf6bc5..221a59016dea 100644
--- a/man7/credentials.7
+++ b/man7/credentials.7
@@ -58,6 +58,7 @@ affected by the call, for example:
 and
 .BR waitpid (2).
 .\" .BR waitid (2),
+.\" .BR wait3 (2),
 .\" .BR wait4 (2),
 .PP
 A process's PID is preserved across an
-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux