Thread (3 messages) 3 messages, 1 author, 2025-05-17

[PATCH v1 1/2] man/man3/_Fork.3: Document _Fork()

From: Alejandro Colomar <alx@kernel.org>
Date: 2025-05-17 12:16:25
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
 man/man3/_Fork.3 | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 man/man3/_Fork.3
diff --git a/man/man3/_Fork.3 b/man/man3/_Fork.3
new file mode 100644
index 000000000..95b0bc61b
--- /dev/null
+++ b/man/man3/_Fork.3
@@ -0,0 +1,29 @@
+.\" Copyright, The authors of the Linux man-pages project
+.\"
+.\" SPDX-License-Identifier: Linux-man-pages-copyleft
+.\"
+.TH _Fork 3 (date) "Linux man-pages (unreleased)"
+.SH NAME
+_Fork \- create a child process
+.SH LIBRARY
+Standard C library
+.RI ( libc ,\~ \-lc )
+.SH SYNOPSIS
+.nf
+.B #include <unistd.h>
+.P
+.B pid_t _Fork(void);
+.fi
+.SH DESCRIPTION
+This function is equivalent to
+.BR fork (2),
+except that fork handlers registered with
+.BR pthread_atfork (3)
+are not called.
+.SH STANDARDS
+POSIX.1-2024.
+.SH HISTORY
+POSIX.1-2024.
+.SH SEE ALSO
+.BR fork (2),
+.BR vfork (2)
-- 
2.49.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help