aboutsummaryrefslogtreecommitdiffstats
path: root/man2/fork.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2012-02-08 09:30:07 +1300
committerMichael Kerrisk <mtk.manpages@gmail.com>2012-02-08 09:30:07 +1300
commit6de06bb89fdba14e62217cb7984b82bee951a74d (patch)
tree1c4204eefcc97cf8942621eacb48b6c9b977165f /man2/fork.2
parentcf2b18fe6db7bfe36f65f7d7864b667dfcbfd441 (diff)
downloadman-pages-6de06bb89fdba14e62217cb7984b82bee951a74d.tar.gz
fork.2: NOTES: Descibe clone() call equivalent to fork()
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2/fork.2')
-rw-r--r--man2/fork.28
1 files changed, 8 insertions, 0 deletions
diff --git a/man2/fork.2 b/man2/fork.2
index 49aeab6640..af8cdd3b12 100644
--- a/man2/fork.2
+++ b/man2/fork.2
@@ -205,6 +205,14 @@ wrapper that is provided as part of the
NPTL threading implementation invokes
.BR clone (2)
with flags that provide the same effect as the traditional system call.
+(A call to
+.BR fork ()
+is equivalent to a call to
+.BR clone (2)
+specifying
+.I flags
+as just
+.BR SIGCHLD .)
The glibc wrapper invokes any fork handlers that have been
established using
.BR pthread_atfork (3).