Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jul 2025 16:47:14 GMT
From:      Alexander Ziaee <ziaee@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: e912101db10b - stable/14 - contrib/mandoc: add -isoC-2024 and -svid1 to mdoc(7)
Message-ID:  <202507141647.56EGlEMB065138@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by ziaee:

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

commit e912101db10b45e8f440da44ae06e0f0383d24ad
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-10-25 15:05:20 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2025-07-14 16:44:44 +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
    
    (cherry picked from commit 7ed159c6cc00adf6f75f9a43024f23509f5b8e5e)
---
 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 fe543d9172d3..54498610fde7 100644
--- a/lib/libc/string/memccpy.3
+++ b/lib/libc/string/memccpy.3
@@ -82,16 +82,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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202507141647.56EGlEMB065138>