fork.2: NOTES: Descibe clone() call equivalent to fork()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-02-08 09:30:07 +13:00
parent cf2b18fe6d
commit 6de06bb89f
1 changed files with 8 additions and 0 deletions

View File

@ -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).