summaryrefslogtreecommitdiffstats
path: root/upstream/archlinux/man2/clone.2
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/archlinux/man2/clone.2')
-rw-r--r--upstream/archlinux/man2/clone.25
1 files changed, 3 insertions, 2 deletions
diff --git a/upstream/archlinux/man2/clone.2 b/upstream/archlinux/man2/clone.2
index a73af0dc..d528f012 100644
--- a/upstream/archlinux/man2/clone.2
+++ b/upstream/archlinux/man2/clone.2
@@ -38,7 +38,7 @@
.\" 2008-11-19, mtk, document CLONE_NEWIPC
.\" 2008-11-19, Jens Axboe, mtk, document CLONE_IO
.\"
-.TH clone 2 2023-11-01 "Linux man-pages 6.06"
+.TH clone 2 2024-05-02 "Linux man-pages 6.8"
.SH NAME
clone, __clone2, clone3 \- create a child process
.SH LIBRARY
@@ -1745,7 +1745,7 @@ does not take arguments
and
.IR child_tid .
.SH NOTES
-One use of these systems calls
+One use of these system calls
is to implement threads: multiple flows of control in a program that
run concurrently in a shared address space.
.P
@@ -1850,6 +1850,7 @@ so we should include it for portability.
#include <stdlib.h>
#include <string.h>
#include <sys/mman.h>
+#include <sys/types.h>
#include <sys/utsname.h>
#include <sys/wait.h>
#include <unistd.h>