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
This commit is contained in:
Robert Clausecker 2024-10-25 17:05:20 +02:00
parent 87c2aab0a0
commit 7ed159c6cc
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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