git: 566c039d1e75 - main - fork: Document _Fork (and fork) as POSIX 2024

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 16 Nov 2024 04:05:53 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=566c039d1e7555343fcf6439a10e56f5a632c0fe

commit 566c039d1e7555343fcf6439a10e56f5a632c0fe
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-11-15 14:22:54 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-11-16 04:05:40 +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
---
 lib/libsys/fork.2 | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/lib/libsys/fork.2 b/lib/libsys/fork.2
index 32dbc7a39711..7d548a42890d 100644
--- a/lib/libsys/fork.2
+++ b/lib/libsys/fork.2
@@ -250,18 +250,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