From 962d9f7018174ba31dee0955e96d5c4caf550748 Mon Sep 17 00:00:00 2001 From: uqs Date: Thu, 5 Jan 2012 21:36:12 +0000 Subject: [PATCH] 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) --- contrib/groff/tmac/doc-syms | 4 ++-- contrib/groff/tmac/groff_mdoc.man | 4 ++-- lib/libstdthreads/thrd_create.3 | 4 ++-- share/man/man3/ATOMIC_VAR_INIT.3 | 4 ++-- share/man/man3/tgmath.3 | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/contrib/groff/tmac/doc-syms b/contrib/groff/tmac/doc-syms index 72846d406f1a..27afb847b826 100644 --- a/contrib/groff/tmac/doc-syms +++ b/contrib/groff/tmac/doc-syms @@ -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 diff --git a/contrib/groff/tmac/groff_mdoc.man b/contrib/groff/tmac/groff_mdoc.man index 305a0417df44..1e2452879e1a 100644 --- a/contrib/groff/tmac/groff_mdoc.man +++ b/contrib/groff/tmac/groff_mdoc.man @@ -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 . diff --git a/lib/libstdthreads/thrd_create.3 b/lib/libstdthreads/thrd_create.3 index ede0d7f2d8fd..5cd960890f2c 100644 --- a/lib/libstdthreads/thrd_create.3 +++ b/lib/libstdthreads/thrd_create.3 @@ -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 . diff --git a/share/man/man3/ATOMIC_VAR_INIT.3 b/share/man/man3/ATOMIC_VAR_INIT.3 index 41f28dba4199..1f85d3b1e85b 100644 --- a/share/man/man3/ATOMIC_VAR_INIT.3 +++ b/share/man/man3/ATOMIC_VAR_INIT.3 @@ -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 . diff --git a/share/man/man3/tgmath.3 b/share/man/man3/tgmath.3 index e86b14184c20..70e4a8196e60 100644 --- a/share/man/man3/tgmath.3 +++ b/share/man/man3/tgmath.3 @@ -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.