mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-23 18:14:56 +01:00
Pull up vendor changes to mdoc(7)
This switches us to using -isoC-2011 as the symbol name which is used by groff and mdocml. It follows the change to 4 digit years as done with IEEE Std 1003 post-1999. MFC after: 2 weeks (groff changes only)
This commit is contained in:
parent
8cb8d9fb89
commit
cabdddae57
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229651
@ -605,6 +605,8 @@
|
||||
.ds doc-str-St--isoC \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1990
|
||||
.as doc-str-St--isoC " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St]\*[Rq])
|
||||
.als doc-str-St--isoC-90 doc-str-St--isoC
|
||||
.ds doc-str-St--isoC-2011 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:2011
|
||||
.as doc-str-St--isoC-2011 " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^11\*[doc-str-St]\*[Rq])
|
||||
.ds doc-str-St--isoC-99 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:1999
|
||||
.as doc-str-St--isoC-99 " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^99\*[doc-str-St]\*[Rq])
|
||||
.ds doc-str-St--isoC-amd1 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/AMD1:1995
|
||||
@ -613,8 +615,6 @@
|
||||
.as doc-str-St--isoC-tcor1 " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 1\*[Rq])
|
||||
.ds doc-str-St--isoC-tcor2 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899/TCOR2:1995
|
||||
.as doc-str-St--isoC-tcor2 " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^90\*[doc-str-St], Technical Corrigendum 2\*[Rq])
|
||||
.ds doc-str-St--isoC-11 \*[doc-Tn-font-size]ISO/IEC\*[doc-str-St] 9899:2011
|
||||
.as doc-str-St--isoC-11 " (\*[Lq]\*[doc-Tn-font-size]ISO\~C\^11\*[doc-str-St]\*[Rq])
|
||||
.
|
||||
.\" POSIX Part 1: System API
|
||||
.ds doc-str-St--p1003.1 \*[doc-Tn-font-size]\%IEEE\*[doc-str-St] Std 1003.1
|
||||
|
@ -2038,8 +2038,8 @@ are:
|
||||
.St -isoC-90
|
||||
.It Li \-isoC\-99
|
||||
.St -isoC-99
|
||||
.It Li \-isoC\-11
|
||||
.St -isoC-11
|
||||
.It Li \-isoC\-2011
|
||||
.St -isoC-2011
|
||||
.El
|
||||
.Pp
|
||||
.
|
||||
|
@ -110,7 +110,7 @@
|
||||
.Fn tss_set "tss_t key" "void *val"
|
||||
.Sh DESCRIPTION
|
||||
As of
|
||||
.St -isoC-11 ,
|
||||
.St -isoC-2011 ,
|
||||
the C standard includes an API for writing multithreaded applications.
|
||||
Since POSIX.1 already includes a threading API that is used by virtually
|
||||
any multithreaded application, the interface provided by the C standard
|
||||
@ -252,7 +252,7 @@ code
|
||||
.Xr pthread 3
|
||||
.Sh STANDARDS
|
||||
These functions are expected to conform to
|
||||
.St -isoC-11 .
|
||||
.St -isoC-2011 .
|
||||
.Sh HISTORY
|
||||
These functions appeared in
|
||||
.Fx 10.0 .
|
||||
|
@ -274,7 +274,7 @@ When using GCC, all atomic operations are executed as if they are using
|
||||
.Dv memory_order_seq_cst .
|
||||
.Pp
|
||||
Instead of using the atomic operations provided by this interface,
|
||||
.St -isoC-11
|
||||
.St -isoC-2011
|
||||
allows the atomic variables to be modified directly using built-in
|
||||
language operators.
|
||||
This behaviour cannot be emulated for older compilers.
|
||||
@ -292,7 +292,7 @@ datatypes, if supported by the CPU.
|
||||
.Xr atomic 9
|
||||
.Sh STANDARDS
|
||||
These macros attempt to conform to
|
||||
.St -isoC-11 .
|
||||
.St -isoC-2011 .
|
||||
.Sh HISTORY
|
||||
These macros appeared in
|
||||
.Fx 10.0 .
|
||||
|
@ -141,13 +141,13 @@ first appeared in
|
||||
.Fx 5.3 .
|
||||
.Sh COMPILER SUPPORT
|
||||
Before
|
||||
.St -isoC-11 ,
|
||||
.St -isoC-2011 ,
|
||||
the header
|
||||
.In tgmath.h
|
||||
could not be implemented with strictly conforming C code and needed
|
||||
special compiler support.
|
||||
As of
|
||||
.St -isoC-11 ,
|
||||
.St -isoC-2011 ,
|
||||
this header file can be implemented using the
|
||||
.Fn _Generic
|
||||
language keyword.
|
||||
|
Loading…
Reference in New Issue
Block a user