aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-07-28 09:26:41 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-07-28 09:34:52 +0200
commit79bdcc4a5c62c7bc51eabbb085746a00b4502605 (patch)
tree492a950398b398daff5a1115519fe8f4218d26e2
parentc3a7b4e958820203d7152a6020de56aef601e707 (diff)
downloadman-pages-79bdcc4a5c62c7bc51eabbb085746a00b4502605.tar.gz
clone.2: Mention kcmp() under notes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/clone.26
1 files changed, 6 insertions, 0 deletions
diff --git a/man2/clone.2 b/man2/clone.2
index ed60cf654c..802df5f685 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -1058,6 +1058,12 @@ as described in this manual page.
is Linux-specific and should not be used in programs
intended to be portable.
.SH NOTES
+The
+.BR kcmp (2)
+system call can be used to test whether two processes share various
+resources siuch as a file descriptor table,
+System V semaphore undo operations, or a virtual address space.
+
In the kernel 2.4.x series,
.B CLONE_THREAD
generally does not make the parent of the new thread the same