aboutsummaryrefslogtreecommitdiffstats
path: root/man2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2019-10-24 09:26:26 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2019-10-24 09:26:26 +0200
commitb7cf324fd8eb68db3b1893bac5414a5514c8ca81 (patch)
treebb9e17c0e96757ef830a077989fb3bfacf18576c /man2
parent5fbce8f22b802ef68b1ffda70f476232ff503e40 (diff)
downloadman-pages-b7cf324fd8eb68db3b1893bac5414a5514c8ca81.tar.gz
clone.2: Minor change: move a paragraph from DESCRIPTION to NOTES
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man2')
-rw-r--r--man2/clone.211
1 files changed, 6 insertions, 5 deletions
diff --git a/man2/clone.2 b/man2/clone.2
index a688e9b3ab..55fae566d0 100644
--- a/man2/clone.2
+++ b/man2/clone.2
@@ -80,11 +80,6 @@ But see the description of
.B CLONE_PARENT
below.)
.PP
-One use of
-.BR clone ()
-is to implement threads: multiple flows of control in a program that
-run concurrently in a shared address space.
-.PP
When the child process is created with
.BR clone (),
it commences execution by calling the function pointed to by the argument
@@ -865,6 +860,12 @@ Memory writes or file mappings/unmappings performed by one of the
processes do not affect the other, as with
.BR fork (2).
.SH NOTES
+.PP
+One use of
+.BR clone ()
+is to implement threads: multiple flows of control in a program that
+run concurrently in a shared address space.
+.PP
Note that the glibc
.BR clone ()
wrapper function makes some changes