git: 2e8ab3d4e9b9 - stable/14 - fork: Document _Fork (and fork) as POSIX 2024
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Nov 2024 00:46:47 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=2e8ab3d4e9b98e648c086aee3685f1b5ba433d90
commit 2e8ab3d4e9b98e648c086aee3685f1b5ba433d90
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-11-15 14:22:54 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-11-21 00:45:07 +0000
fork: Document _Fork (and fork) as POSIX 2024
Also remove some information from HISTORY that is no longer needed (and
could be confusing), now that _Fork is part of a standard.
Reported by: kib
Reviewed by: imp, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47588
(cherry picked from commit 566c039d1e7555343fcf6439a10e56f5a632c0fe)
---
lib/libc/sys/fork.2 | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/lib/libc/sys/fork.2 b/lib/libc/sys/fork.2
index a3af078b3d69..dcc3d4d017c1 100644
--- a/lib/libc/sys/fork.2
+++ b/lib/libc/sys/fork.2
@@ -252,18 +252,18 @@ There is insufficient swap space for the new process.
.Xr vfork 2 ,
.Xr wait 2 ,
.Xr pthread_atfork 3
+.Sh STANDARDS
+The
+.Fn fork
+and
+.Fn _Fork
+functions conform to
+.St -p1003.1-2024 .
.Sh HISTORY
The
.Fn fork
function appeared in
.At v1 .
-.Pp
-The
-.Fn _Fork
-function was defined by Austin Group together with the removal
-of a requirement that the
-.Fn fork
-implementation must be async-signal safe.
The
.Fn _Fork
function appeared in