From 2e8ab3d4e9b98e648c086aee3685f1b5ba433d90 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 15 Nov 2024 09:22:54 -0500 Subject: [PATCH] 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 a3af078b3d6..dcc3d4d017c 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