]> Savannah Git Hosting - gnulib.git/commitdiff
doc: Document <stdatomic.h>.
authorBruno Haible <bruno@clisp.org>
Fri, 9 Jun 2023 19:59:29 +0000 (21:59 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 9 Jun 2023 20:03:03 +0000 (22:03 +0200)
* doc/posix-headers/stdatomic.texi: New file.
* doc/gnulib.texi (Header File Substitutes): Include it.

ChangeLog
doc/gnulib.texi
doc/posix-headers/stdatomic.texi [new file with mode: 0644]

index 2f4a7f1158a4fbd361e309ef6b693e39ec60b777..fcd9ce93f1caacc245a4dae63082f7cd65d24f2b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-06-09  Bruno Haible  <bruno@clisp.org>
+
+       doc: Document <stdatomic.h>.
+       * doc/posix-headers/stdatomic.texi: New file.
+       * doc/gnulib.texi (Header File Substitutes): Include it.
+
 2023-06-09  Jim Meyering  <meyering@meta.com>
 
        maint.mk: sc_prohibit_xalloc_without_use: also match alloc_die
index 0f91de5a39a8c79cd65afccabe3bb2c2085ca99b..4b47749fe6a7adf1f16e5e99af5134e900402e6d 100644 (file)
@@ -1076,6 +1076,7 @@ which (known) portability problems are not worked around by Gnulib.
 * spawn.h::
 * stdalign.h::
 * stdarg.h::
+* stdatomic.h::
 * stdbool.h::
 * stdckdint.h::
 * stddef.h::
@@ -1167,6 +1168,7 @@ which (known) portability problems are not worked around by Gnulib.
 @include posix-headers/spawn.texi
 @include posix-headers/stdalign.texi
 @include posix-headers/stdarg.texi
+@include posix-headers/stdatomic.texi
 @include posix-headers/stdbool.texi
 @include posix-headers/stdckdint.texi
 @include posix-headers/stddef.texi
diff --git a/doc/posix-headers/stdatomic.texi b/doc/posix-headers/stdatomic.texi
new file mode 100644 (file)
index 0000000..d236800
--- /dev/null
@@ -0,0 +1,20 @@
+@node stdatomic.h
+@section @file{stdatomic.h}
+
+POSIX specification:@* Not in POSIX yet, but we expect it will be.
+ISO C11 (latest free draft
+@url{http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf})
+section 7.17.
+
+Gnulib module: ---
+
+Portability problems fixed by Gnulib:
+@itemize
+@end itemize
+
+Portability problems not fixed by Gnulib:
+@itemize
+@item
+This header file is missing on many platforms:
+glibc with GCC 4.8.x or clang 2.8, FreeBSD 6.4, NetBSD 7.0, OpenBSD 6.5, OpenBSD 6.9 with gcc, Minix 3.3.0, AIX 7.2 with xlc or xlclang, HP-UX 11.31, IRIX 6.5, Solaris 11.3 with Oracle Studio 12.4 (Sun C 5.13), Cygwin 1.5.19, mingw, MSVC 14.
+@end itemize