aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
Diffstat (limited to 'man2')
-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).