git: 7ed159c6cc00 - main - contrib/mandoc: add -isoC-2024 and -svid1 to mdoc(7)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Oct 2024 18:12:04 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=7ed159c6cc00adf6f75f9a43024f23509f5b8e5e
commit 7ed159c6cc00adf6f75f9a43024f23509f5b8e5e
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-25 15:05:20 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-10-26 18:11:02 +0000
contrib/mandoc: add -isoC-2024 and -svid1 to mdoc(7)
C23 (ISO/IEC 9899:2024) is not out yet, but will be shortly.
SVID1 is needed for the history section of memccpy(3).
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D47284
---
contrib/mandoc/st.c | 2 ++
lib/libc/string/memccpy.3 | 6 ++----
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/contrib/mandoc/st.c b/contrib/mandoc/st.c
index 266df0081a95..cb6bf3303126 100644
--- a/contrib/mandoc/st.c
+++ b/contrib/mandoc/st.c
@@ -56,6 +56,7 @@ LINE("-isoC-tcor1", "ISO/IEC 9899/TCOR1:1994 (\\(lqISO\\~C90, Technical Corrigen
LINE("-isoC-tcor2", "ISO/IEC 9899/TCOR2:1995 (\\(lqISO\\~C90, Technical Corrigendum 2\\(rq)")
LINE("-isoC-99", "ISO/IEC 9899:1999 (\\(lqISO\\~C99\\(rq)")
LINE("-isoC-2011", "ISO/IEC 9899:2011 (\\(lqISO\\~C11\\(rq)")
+LINE("-isoC-2024", "ISO/IEC 9899:2024 (\\(lqISO\\~C23\\(rq)")
LINE("-iso9945-1-90", "ISO/IEC 9945-1:1990 (\\(lqPOSIX.1\\(rq)")
LINE("-iso9945-1-96", "ISO/IEC 9945-1:1996 (\\(lqPOSIX.1\\(rq)")
LINE("-iso9945-2-93", "ISO/IEC 9945-2:1993 (\\(lqPOSIX.2\\(rq)")
@@ -79,6 +80,7 @@ LINE("-susv1", "Version\\~1 of the Single UNIX Specification (\\(lqSUSv1\\(rq)"
LINE("-susv2", "Version\\~2 of the Single UNIX Specification (\\(lqSUSv2\\(rq)")
LINE("-susv3", "Version\\~3 of the Single UNIX Specification (\\(lqSUSv3\\(rq)")
LINE("-susv4", "Version\\~4 of the Single UNIX Specification (\\(lqSUSv4\\(rq)")
+LINE("-svid1", "System\\~V Interface Definition, First Edition (\\(lqSVID1\\(rq)")
LINE("-svid4", "System\\~V Interface Definition, Fourth Edition (\\(lqSVID4\\(rq)")
return NULL;
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3
index 3bdae24354c1..2de981449119 100644
--- a/lib/libc/string/memccpy.3
+++ b/lib/libc/string/memccpy.3
@@ -80,16 +80,14 @@ The
function conforms to
.St -p1003.1-2004
and
-.\" St -isoC-2024 .
-ISO/IEC 9899:2024 (\(lqISO\~C23\(rq).
+.St -isoC-2024 .
.Sh HISTORY
The
.Fn memccpy
function first appeared in
.Bx 4.4
and was first specified in the
-.\" St -svid1 .
-System\~V Interface Definition, First Edition (\(lqSVID1\(rq).
+.St -svid1 .
The
.Ft restrict
keyword was added to the prototype in