]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conform: Add initial support for C23.
authorCollin Funk <collin.funk1@gmail.com>
Sat, 5 Apr 2025 03:48:25 +0000 (20:48 -0700)
committerJoseph Myers <josmyers@redhat.com>
Thu, 10 Apr 2025 18:39:05 +0000 (18:39 +0000)
Hi Joseph,

As we discussed, this patch just makes C23 include every check that is
performed by C11.

I tested the commit by adding the ISO23 Make and Python variables to be
the same as ISO11.  So the only difference was compiling with -DISO23
instead of -DISO11.  And changed the temporary directories to instead
use the format f'/tmp/glibc-{self.standard}-{self.header}'.  Then I used
a shell script to run 'cmp' on each file in the ISO11 and ISO23
directories for each header to make sure they were the same.

-- 8< --

Make C23 checks include every test that is performed by C11.  Done by
running the following command:

find conform -name '*.h-data' | xargs sed -i \
  -e 's| !defined ISO11| !defined ISO11 \&\& !defined ISO23|g' \
  -e 's| defined ISO11| defined ISO11 \|\| defined ISO23|g' \
  -e 's|ifdef ISO11|if defined ISO11 \|\| defined ISO23|g' \
  -e 's|ifndef ISO11|if !defined ISO11 \&\& !defined ISO23|g'

Signed-off-by: Collin Funk <collin.funk1@gmail.com>
82 files changed:
conform/data/aio.h-data
conform/data/arpa/inet.h-data
conform/data/assert.h-data
conform/data/complex.h-data
conform/data/cpio.h-data
conform/data/ctype.h-data
conform/data/dirent.h-data
conform/data/dlfcn.h-data
conform/data/errno.h-data
conform/data/fcntl.h-data
conform/data/fenv.h-data
conform/data/float.h-data
conform/data/fmtmsg.h-data
conform/data/fnmatch.h-data
conform/data/ftw.h-data
conform/data/glob.h-data
conform/data/grp.h-data
conform/data/iconv.h-data
conform/data/iso646.h-data
conform/data/langinfo.h-data
conform/data/libgen.h-data
conform/data/limits.h-data
conform/data/locale.h-data
conform/data/math.h-data
conform/data/monetary.h-data
conform/data/mqueue.h-data
conform/data/ndbm.h-data
conform/data/net/if.h-data
conform/data/netdb.h-data
conform/data/netinet/in.h-data
conform/data/nl_types.h-data
conform/data/poll.h-data
conform/data/pthread.h-data
conform/data/pwd.h-data
conform/data/regex.h-data
conform/data/sched.h-data
conform/data/search.h-data
conform/data/semaphore.h-data
conform/data/setjmp.h-data
conform/data/signal.h-data
conform/data/spawn.h-data
conform/data/stdalign.h-data
conform/data/stdarg.h-data
conform/data/stdbool.h-data
conform/data/stddef.h-data
conform/data/stdio.h-data
conform/data/stdlib.h-data
conform/data/stdnoreturn.h-data
conform/data/string.h-data
conform/data/strings.h-data
conform/data/sys/ipc.h-data
conform/data/sys/mman.h-data
conform/data/sys/msg.h-data
conform/data/sys/resource.h-data
conform/data/sys/select.h-data
conform/data/sys/sem.h-data
conform/data/sys/shm.h-data
conform/data/sys/socket.h-data
conform/data/sys/stat.h-data
conform/data/sys/statvfs.h-data
conform/data/sys/time.h-data
conform/data/sys/timeb.h-data
conform/data/sys/times.h-data
conform/data/sys/types.h-data
conform/data/sys/uio.h-data
conform/data/sys/un.h-data
conform/data/sys/utsname.h-data
conform/data/sys/wait.h-data
conform/data/syslog.h-data
conform/data/tar.h-data
conform/data/termios.h-data
conform/data/threads.h-data
conform/data/time.h-data
conform/data/uchar.h-data
conform/data/ucontext.h-data
conform/data/ulimit.h-data
conform/data/unistd.h-data
conform/data/utime.h-data
conform/data/utmpx.h-data
conform/data/wchar.h-data
conform/data/wctype.h-data
conform/data/wordexp.h-data

index adb291b6e15290d5cc9177e97c7fc2e6cc1d0f7c..7801faa0c628c320e5e8932095af095a67cc4f69 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined XPG42
 type {struct aiocb}
 
 // Test elements of the AIO control struct.
index 040b8212c73778d2e1272a2841424fdb098ddde2..c514690141639386cc0387494a959e70d0ee5aca 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 // in_port_t should have exactly 16 bits
 type in_port_t
 // in_addr_t should have exactly 32 bits
index acdfef99e1239f317b22d2ecd5e6e32584b88896..2344ee323705d7a8930cdae98049890397ce8b57 100644 (file)
@@ -1,9 +1,9 @@
 macro assert
 
-#ifdef ISO11
+#if defined ISO11 || defined ISO23
 macro static_assert
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index 4af7757bd7392311e12eb1ebfbd3e0b354023952..0c267e47a3e1742d664a8b4112289667b37b57da 100644 (file)
@@ -74,7 +74,7 @@ function {long double complex} csqrtl (long double complex)
 function {long double complex} ctanhl (long double complex)
 function {long double complex} ctanl (long double complex)
 
-# if defined ISO11
+# if defined ISO11 || defined ISO23
 macro-function {double complex} CMPLX (double, double)
 macro-function {float complex} CMPLXF (float, float)
 macro-function {long double complex} CMPLXL (long double, long double)
index ac7d40fd5e8b87b47cf501649d54e181fd13c0b7..ab91f2c07f45de25a5ac815ff85dcc4ae2568b2e 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 constant C_IRUSR == 0000400
 constant C_IWUSR == 0000200
 constant C_IXUSR == 0000100
index 7e10794e462ba8823142671d0a7d68e75ff68135..84426f99fa789346506d2df6bfcd9a991b5f6953 100644 (file)
@@ -16,7 +16,7 @@ function int toupper (int)
 function int isblank (int)
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function int isascii (int)
 function int toascii (int)
 
@@ -46,6 +46,6 @@ function int toupper_l (int, locale_t)
 allow is[abcdefghijklmnopqrstuvwxyz]*
 allow to[abcdefghijklmnopqrstuvwxyz]*
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index be7ad06fd82d01a72e5fce139ba9a5ff7d1e1abd..e7acdebc7bea734110903bb6ec8fec9827587d8d 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type DIR
 
 type {struct dirent}
index b6658ae8ca2a9d14379d6ec28273f5924e4f48dc..e85288933c5d402630036584a17a40e6cd7d3560 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined XPG42
 macro RTLD_LAZY
 macro RTLD_NOW
 macro RTLD_GLOBAL
index 12730ba974287deee56879c53c41c697dbee0b2f..c7b5f7fdba22ecd27e09361a5731db5d5f9651e0 100644 (file)
@@ -7,7 +7,7 @@ macro-int-constant ERANGE {int} > 0
 // variable int errno
 allow errno
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 macro-int-constant E2BIG {int} > 0
 macro-int-constant EACCES {int} > 0
 # if !defined POSIX
index ffa4a351fb43925e94b5cef13cec2fd9112da792..8491ca671dcb25047da977fb0381d5fe0f23284e 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 constant F_DUPFD
 constant F_GETFD
 constant F_SETFD
index 280b72864c6fed3afe6140ca43758a758aff49fa..b3f674cc090f8dff722bad152fc700c57a7236cb 100644 (file)
@@ -30,7 +30,7 @@ function int feholdexcept (fenv_t*)
 function int fesetenv (const fenv_t*)
 function int feupdateenv (const fenv_t *)
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #endif
index 7b98fc03447b8918da4a0cf47d41fb3e17f4f791..54784246d2849c077a34cd6c26b5d711b7fa47d6 100644 (file)
@@ -43,7 +43,7 @@ macro-int-constant DECIMAL_DIG >= 10
 macro-int-constant FLT_EVAL_METHOD
 #endif
 
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 macro-int-constant DBL_HAS_SUBNORM
 macro-int-constant FLT_HAS_SUBNORM
 macro-int-constant LDBL_HAS_SUBNORM
@@ -57,6 +57,6 @@ macro-constant FLT_TRUE_MIN <= 1E-37
 macro-constant LDBL_TRUE_MIN <= 1E-37
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index c1b18ad4a4d4b9d2ee0d0ee2dbc7178d882e4d0a..16d000365f31b97d1125f404dd1e6a4ad24fdb4b 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 macro MM_HARD
 constant MM_HARD
 
index 12a9a4ac2e15f5bc54987ef66a6590060c023f2e..e63a46936dabcc80ea2ba03d2910b9c38d64cebd 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 constant FNM_NOMATCH
 constant FNM_PATHNAME
 constant FNM_PERIOD
index 340334bfd4e76de8c55be9049dd695dc850588d5..5c8568fd60f57b2ecce007fe383eae0e1576cf0a 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 # ifndef XPG4
 type {struct FTW}
 element {struct FTW} int base
index eca83937af8af9401b2796012e0ef7f5edb59f8d..3b5a99927de5bc948d34fd486e1f37899c003ab1 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #ifdef POSIX
 # define size_t __size_t
 #endif
index 168844458673dd418920644153c86b6c7cac5492..428329bbea3d133a409c126e6df852ee24c8f13c 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #ifdef POSIX
 # define gid_t __gid_t
 #endif
index 79fb2d6def905e1742dd6fe6ceb7610a47f1e6e0..8700fc61b2a323df81709131ff9de8319e511d66 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 type iconv_t
 # if defined XOPEN2K8 || defined POSIX2008
 type size_t
index 9e307f734d0eaf456abecff3b8057a29cea1289c..713c3a48275253186de085bc4e8cb63d4d95c293 100644 (file)
@@ -11,7 +11,7 @@ macro or_eq
 macro xor
 macro xor_eq
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #endif
index 6bbb3872a05f4113dc76c683fe6ede3bc945f481..4bd90f2e9540a9dcb20d5c62c8023c696264a4fd 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 constant CODESET
 constant D_T_FMT
 constant D_FMT
index e9eb5fafc91e7345a743b8f5b3de6daba877c0e7..aee71bb160cbcffa2bf8700de27f00763580cf99 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 function {char*} basename (char*)
 function {char*} dirname (char*)
 
index 23114a5fa07ed80350494b2c573a1831175ed487..4160f961cd2c01aad741ff2b65f2479fd8d2db96 100644 (file)
@@ -20,13 +20,13 @@ macro-int-constant UINT_MAX {unsigned int} >= 4294967295U
 macro-int-constant LONG_MAX {long int} >= 2147483647L
 macro-int-constant LONG_MIN {long int} <= -2147483647L
 macro-int-constant ULONG_MAX {unsigned long int} >= 4294967295UL
-#if defined ISO99 || defined ISO11 || defined XOPEN2K8 || defined POSIX2008
+#if defined ISO99 || defined ISO11 || defined ISO23 || defined XOPEN2K8 || defined POSIX2008
 macro-int-constant LLONG_MIN {long long int} <= -9223372036854775807ll
 macro-int-constant LLONG_MAX {long long int} >= 9223372036854775807ll
 macro-int-constant ULLONG_MAX {unsigned long long int} >= 18446744073709551615ull
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 // if these values exist, we should check the minimal value
 allow AIO_LISTIO_MAX
 allow AIO_MAX
index 266264ac6dcdf9b89da142c48f5ec53e29d402c1..df28e44a0da08eaa79819ebffcb03dc20eddb49f 100644 (file)
@@ -31,7 +31,7 @@ macro-constant NULL == 0
 macro-int-constant LC_ALL
 macro-int-constant LC_COLLATE
 macro-int-constant LC_CTYPE
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 macro-int-constant LC_MESSAGES
 #endif
 macro-int-constant LC_MONETARY
@@ -62,7 +62,7 @@ function locale_t uselocale (locale_t)
 #endif
 
 allow LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #if defined XOPEN2K8 || defined POSIX2008
index 0c5075579251910cae190fa7742c65be1475cb31..d177e9bdf8d292505fa9ffdf5d25b0bc80e32a5f 100644 (file)
@@ -21,7 +21,7 @@ type double_t
 function int isnan (double)
 # endif
 
-# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
 constant M_E
 constant M_LOG2E
 constant M_LOG10E
@@ -104,7 +104,7 @@ function double gamma (double)
 #endif
 #if !defined ISO && !defined POSIX
 function double hypot (double, double)
-# if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function double j0 (double)
 function double j1 (double)
 function double jn (int, double)
@@ -113,7 +113,7 @@ function double lgamma (double)
 # if !defined XPG4 && !defined XPG42 && !defined UNIX98
 function double tgamma (double)
 # endif
-# if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function double y0 (double)
 function double y1 (double)
 function double yn (int, double)
@@ -157,7 +157,7 @@ function double nan (const char*)
 #  endif
 # endif
 
-# if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 // variable signgam
 allow signgam
 # endif
@@ -327,7 +327,7 @@ allow tanl
 allow tanhl
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
index 4f0cb9b681ae97dd7d907ab183a89e8604c24310..7a87041764c7270837db2bb4830750f4cb7cfd95 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 type size_t
 type ssize_t
 # if defined XOPEN2K8 || defined POSIX2008
index 42ccd8551ebf2107fd1f779640bb3e4cc4da862d..6b5c15d59692a024f60ab08687f923580185ec9d 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined XPG42
 // should test for not an array type.
 type mqd_t
 
index 2ee7a592531ed5e221bbfe0b5b7baad8a72bc2f7..1aa4423ecab1b7364add8f44c238c9546365129b 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 type datum
 element datum {void*} dptr
 element datum size_t dsize
index 8a4d89c06795b6cdc6e1b8ab8886cad3245b5c5b..98e1bd796a02af4fd034bc9e142c42e8948cd887 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
 type {struct if_nameindex}
 
 element {struct if_nameindex} {unsigned int} if_index
index c6d8b70a0deea5f6e9f2a385bcd19ba3d172d882..a6484ac98433e32e95afeb0b3348296ff52c842a 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 optional-type in_port_t
 optional-type in_addr_t
 
index ccc74db608727200161d2713a2f7fb171d8b8138..ad1d0b3e1e8c3c6a38fe492d602fcf6c5189a78d 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 type in_port_t
 type in_addr_t
 
index 67a0d7a198d6575c3482917591c8e3eac460fe8d..90ba794b82bc4ae684357c1b9aea373b9149d9d0 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 type nl_catd
 type nl_item
 
index f7ebb917154ba279adab8f9a18efb6e10e6f4a86..d99c7762f4b1c994418f27a124e0a6f230a01fc8 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 type {struct pollfd}
 element {struct pollfd} int fd
 element {struct pollfd} {short int} events
index 6b1049945868e067981dae37511669ea4c7fa887..09bf5275157b5d04498187faf311909c0331d661 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined XPG42
 constant PTHREAD_CANCEL_ASYNCHRONOUS
 constant PTHREAD_CANCEL_ENABLE
 constant PTHREAD_CANCEL_DEFERRED
index e86433d6a7cf394133dd149b47799b99a54c745d..b2f8cbf924eeaa507703d86e1786a1d577116259 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #ifdef POSIX
 # define uid_t __uid_t
 # define gid_t __gid_t
index 04f9034f81d215d61cddde82d366003186f33825..602f2093b6a53f016397f86aa52fe8774a356c76 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type regex_t
 element regex_t size_t re_nsub
 
index 63e5eb2567260e4fdf49ba2d82bcdf6fa31867c9..639f129855a44fad501f398f3dcfdcb6e53ed3fc 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined XPG42
 # if defined POSIX || defined UNIX98
 #  include "time.h-data"
 # else
index e99f7e6c1d60b7a377e6072eb7fcd7e1bcbba7af..240be297fcbac4ab8fd8d7faf093e5d1d598c48f 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 type ENTRY
 type {struct entry}
 element {struct entry} {char*} key
index 066c2f721b4df12f2b35afc1baa2cac0ea66a107..18afd1689a8304e784ecb4b88d10e9f5334eebe2 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined XPG42
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined XPG42
 type sem_t
 
 constant SEM_FAILED
index af28ddb59ada26f8cc7cc346e61ab688c543b4c1..37bd9bd7d77cd2a6bbc1e4d4d4b993588665c735 100644 (file)
@@ -1,10 +1,10 @@
 type jmp_buf
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type sigjmp_buf
 #endif
 
 function void longjmp (jmp_buf, int)
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 function void siglongjmp (sigjmp_buf, int)
 # if !defined POSIX && !defined POSIX2008
 function void _longjmp (jmp_buf, int)
@@ -12,13 +12,13 @@ function void _longjmp (jmp_buf, int)
 #endif
 
 macro-function int setjmp (jmp_buf)
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 macro-function int sigsetjmp (sigjmp_buf, int)
 # if !defined POSIX && !defined POSIX2008
 macro-function int _setjmp (jmp_buf)
 # endif
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index 3b00b760766b0cfa7cc607aec9d4577eb230ccff..4beb3d8515fb647732c855c7dc1072a9408284fd 100644 (file)
@@ -1,15 +1,15 @@
 macro-constant SIG_DFL {void(*)(int)}
 macro-constant SIG_ERR {void(*)(int)}
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 macro-constant SIG_HOLD {void(*)(int)}
 #endif
 macro-constant SIG_IGN {void(*)(int)}
 
 type sig_atomic_t
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type sigset_t
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 type pid_t
 #elif defined POSIX
 # define pid_t __pid_t
@@ -68,7 +68,7 @@ macro-int-constant SIGTERM {int} > 0
 function void (*signal (int, void(*)(int)))(int)
 function int raise (int)
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 macro-int-constant SIGALRM {int} > 0
 macro-int-constant SIGHUP {int} > 0
 macro-int-constant SIGKILL {int} > 0
index be69922669f7148566b09b135279cee7ba2c3567..47b709bf5284ccfcd3ecf71221cef4ecb253d086 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
 type posix_spawnattr_t
 type posix_spawn_file_actions_t
 # if defined XOPEN2K8 || defined POSIX2008
index edc2310e98f418de6c6394d4d66ad266d80a4ec2..62eb704f9308e1e5803ae684317cec9b7376a70f 100644 (file)
@@ -1,4 +1,4 @@
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 macro alignas
 macro alignof
 macro-int-constant __alignas_is_defined {int} == 1
index 53addb91fa91bb1de32d9ed1c1972086f2b96b63..c753745b3169c6b332e8e858bb07a09c3c958e9a 100644 (file)
@@ -5,10 +5,10 @@ macro va_start
 macro va_arg
 macro va_end
 
-#if defined ISO99 || defined ISO11 || defined XOPEN2K || defined POSIX2008 || defined XOPEN2K8
+#if defined ISO99 || defined ISO11 || defined ISO23 || defined XOPEN2K || defined POSIX2008 || defined XOPEN2K8
 macro va_copy
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index a030e9cffeb463bc19eaf7696c5502ae1bd751f0..2a5a08fc603af98c5ccbbf1be6c0824f5edc4874 100644 (file)
@@ -4,7 +4,7 @@ macro-int-constant true {int} == 1
 macro-int-constant false {int} == 0
 macro-int-constant __bool_true_false_are_defined {int} == 1
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #endif
index 9ded4f1ca0f25794d3dd5a56c301b4eeffbc4a1a..c7a80a83d713ff8747f3141c8129e339cd62638e 100644 (file)
@@ -6,10 +6,10 @@ type ptrdiff_t
 type wchar_t
 type size_t
 
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 type max_align_t
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index 3ef246066108993b0527fe95282c42c1a490a17f..1be80b47b0dc1f9a166871f748bc5449766075b0 100644 (file)
@@ -6,7 +6,7 @@ macro-int-constant _IOFBF
 macro-int-constant _IOLBF
 macro-int-constant _IONBF
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 constant L_ctermid
 # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 #  ifdef POSIX
@@ -28,7 +28,7 @@ macro-int-constant EOF < 0
 
 macro-constant NULL == 0
 
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 constant P_tmpdir
 #endif
 
@@ -38,7 +38,7 @@ macro stderr {FILE *}
 
 type FILE
 type fpos_t
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 type va_list
 #else
 #define va_list __gnuc_va_list
@@ -50,7 +50,7 @@ type ssize_t
 #endif
 
 function void clearerr (FILE*)
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 function {char*} ctermid (char*)
 # if defined XPG4 || defined XPG42 || defined UNIX98
 function {char*} cuserid (char*)
@@ -60,7 +60,7 @@ function {char*} cuserid (char*)
 function int dprintf (int, const char*, ...)
 #endif
 function int fclose (FILE*)
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 function {FILE*} fdopen (int, const char*)
 #endif
 function int feof (FILE*)
@@ -69,7 +69,7 @@ function int fflush (FILE*)
 function int fgetc (FILE*)
 function int fgetpos (FILE*, fpos_t*)
 function {char*} fgets (char*, int, FILE*)
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 function int fileno (FILE*)
 #endif
 #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
@@ -112,7 +112,7 @@ function ssize_t getline (char**, size_t*, FILE*)
 #if defined XPG4 || defined XPG42 || defined UNIX98
 function int getopt (int, char *const[], const char *)
 #endif
-#if !defined ISO11
+#if !defined ISO11 && !defined ISO23
 function {char*} gets (char*)
 #endif
 #if defined XPG4 || defined XPG42 || defined UNIX98
@@ -121,11 +121,11 @@ function int getw (FILE*)
 #if defined XOPEN2K8 || defined POSIX2008
 function {FILE*} open_memstream (char**, size_t*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 function int pclose (FILE*)
 #endif
 function void perror (const char*)
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 function {FILE*} popen (const char*, const char*)
 #endif
 function int printf (const char*, ...)
@@ -178,7 +178,7 @@ function int vsprintf (char*, const char*, va_list)
 function int vsscanf (const char*, const char*, va_list)
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 variable {char*} optarg
 variable int opterr
index 6913828196faf89d605216fb776be917b20a2c62..0f6da091664b7741c01cadb0c696cb57336e9928 100644 (file)
@@ -12,7 +12,7 @@ macro-constant NULL == 0
 macro-int-constant RAND_MAX >= 32767
 macro MB_CUR_MAX
 
-#if defined ISO99 || defined ISO11 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
+#if defined ISO99 || defined ISO11 || defined ISO23 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 type lldiv_t
 element lldiv_t {long long} quot
 element lldiv_t {long long} rem
@@ -20,7 +20,7 @@ element lldiv_t {long long} rem
 type size_t
 type wchar_t
 
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 constant WNOHANG
 constant WUNTRACED
 
@@ -35,16 +35,16 @@ macro WTERMSIG
 #if !defined ISO && !defined XPG4 && !defined XPG42 && !defined UNIX98 && !defined POSIX
 function void _Exit (int)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function long a64l (const char*)
 #endif
 function void abort (void)
 function int abs (int)
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 function {void *} aligned_alloc (size_t, size_t)
 #endif
 function int atexit (void(*)(void))
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 function int at_quick_exit (void (*) (void))
 #endif
 function double atof (const char*)
@@ -56,13 +56,13 @@ function {long long} atoll (const char*)
 function {void*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
 function {void*} calloc (size_t, size_t)
 function div_t div (int, int)
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function double drand48 (void)
 #endif
 #if defined XPG42 || defined UNIX98 || defined XOPEN2K
 function {char*} ecvt (double, int, int*, int*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function double erand48 (unsigned short int[3])
 #endif
 function void exit (int)
@@ -74,21 +74,21 @@ function void free (void*)
 function {char*} gcvt (double, int, char*)
 #endif
 function {char*} getenv (const char*)
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX
 function int getsubopt (char**, char *const*, char**)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function int grantpt (int)
 function {char*} initstate (unsigned int, char*, size_t)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function {long int} jrand48 (unsigned short int[3])
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function {char*} l64a (long)
 #endif
 function {long int} labs (long int)
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function void lcong48 (unsigned short int[7])
 #endif
 function ldiv_t ldiv (long int, long int)
@@ -96,7 +96,7 @@ function ldiv_t ldiv (long int, long int)
 function {long long} llabs (long long)
 function lldiv_t lldiv (long long, long long)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function {long int} lrand48 (void)
 #endif
 function {void*} malloc (size_t)
@@ -106,13 +106,13 @@ function int mbtowc (wchar_t*, const char*, size_t)
 #if defined XOPEN2K8 || defined POSIX2008
 function {char*} mkdtemp (char*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined XOPEN2K8 && !defined POSIX2008
 function {char*} mktemp (char*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX
 function int mkstemp (char*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function {long int} mrand48 (void)
 function {long int} nrand48 (unsigned short int[3])
 #endif
@@ -122,41 +122,41 @@ function int posix_memalign (void**, size_t, size_t)
 #if defined XOPEN2K || defined XOPEN2K8
 function int posix_openpt (int)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function {char*} ptsname (int)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function int putenv (char*)
 #endif
 function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 function void quick_exit (int)
 #endif
 function int rand (void)
 #if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
 function int rand_r (unsigned int*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function long random (void)
 #endif
 function {void*} realloc (void*, size_t)
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function {char*} realpath (const char*, char*)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function {unsigned short int*} seed48 (unsigned short int[3])
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
 function int setenv (const char*, const char*, int)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function {char*} setstate (char*)
 #endif
 function void srand (unsigned int)
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function void srand48 (long int)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function void srandom (unsigned)
 #endif
 function double strtod (const char*, char**)
@@ -174,10 +174,10 @@ function int system (const char*)
 #if defined XPG42 || defined UNIX98
 function int ttyslot (void)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function int unlockpt (int)
 #endif
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
 function int unsetenv (const char*)
 #endif
 #if defined XPG42 || defined UNIX98
@@ -186,7 +186,7 @@ function {void*} valloc (size_t)
 function size_t wcstombs (char*, const wchar_t*, size_t)
 function int wctomb (char*, wchar_t)
 
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 allow-header stddef.h
 allow-header limits.h
 allow-header math.h
@@ -194,6 +194,6 @@ allow-header sys/wait.h
 #endif
 
 allow str[abcdefghijklmnopqrstuvwxyz]*
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index 77b9a589d843a57dc3c8e94134e448e5124b6b72..fa83c4f5589860f39b9cd64377dd146b9ccef0e7 100644 (file)
@@ -1,3 +1,3 @@
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 macro noreturn
 #endif
index e06f9414987caa54d2e6b69f8eaf1adf1e0ef788..8cda133428b13f8e13199420e1daea719cb003a7 100644 (file)
@@ -5,7 +5,7 @@ type size_t
 type locale_t
 #endif
 
-#if !defined ISO && !defined ISO99 & !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 & !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function {void*} memccpy (void*, const void*, int, size_t)
 #endif
 function {void*} memchr (const void*, int, size_t)
@@ -27,7 +27,7 @@ function int strcoll_l (const char*, const char*, locale_t)
 #endif
 function {char*} strcpy (char*, const char*)
 function size_t strcspn (const char*, const char*)
-#if !defined ISO && !defined ISO99 & !defined ISO11 && !defined XPG4 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 & !defined ISO11 && !defined ISO23 && !defined XPG4 && !defined POSIX && !defined POSIX2008
 function {char*} strdup (const char*)
 #endif
 function {char*} strerror (int)
@@ -61,13 +61,13 @@ function size_t strxfrm (char*, const char*, size_t)
 function size_t strxfrm_l (char*, const char*, size_t, locale_t)
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
 allow-header stddef.h
 #endif
 
 allow str[abcdefghijklmnopqrstuvwxyz]*
 allow mem[abcdefghijklmnopqrstuvwxyz]*
 allow wcs[abcdefghijklmnopqrstuvwxyz]*
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
index 13827ebed9a1c42e9a5e8fd3826de877adfa2d52..b5d352ff322922135ce93460be9277635dce6bec 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 # if !defined XOPEN2K8 && !defined POSIX2008
 function int bcmp (const void*, const void*, size_t)
 function void bcopy (const void*, void*, size_t)
index 1364b07e87e5a085d9061c0c3b91d7a7d53c7328..e157257e8a0c1e7fd90de9a763997ba1fb67ea61 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 type {struct ipc_perm}
 
 // Bug 23082: uid/gid/cuid/cgid/mode have type unsigned short instead of uid_t and mode_t.
index a74388338e2adea84a748f5990ba6130f3b3a05c..b742b900d68ee073fa6865109f5d5606e7317191 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined XPG4
 constant PROT_READ
 constant PROT_WRITE
 constant PROT_EXEC
index f5e9f1c82a3b1bbab158ec8e55352dc6777f3e80..93df6fd656a718bea3445f605ff941852e7378f6 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 type {struct msqid_ds}
 
 type msgqnum_t
index cedbee1a4007a28ec111cf5046a59e1dcbfe43fe..ba247e3d264174546469698c7a9d1385d1a27a1b 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 constant PRIO_PROCESS
 constant PRIO_PGRP
 constant PRIO_USER
index 44d63ebd2d678db7ea02a7f6511f628918ab3327..9406eaea0c37d63871eb64603b0b337a75a55c34 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
 type time_t
 type suseconds_t
 
index a36ab1bd919fe6733fce9c118c36f8edd1ac7d02..f34541c447896b2508c036f143700c5e47dfc2ea 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 constant SEM_UNDO
 
 constant GETNCNT
index 778b194f50d7ee6dbf44b3d038f21f0ae8f41d2a..a9d2539e4789b4b7cfb51cb2e490c7c39b67ffd9 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 constant SHM_RDONLY
 symbol SHMLBA
 constant SHM_RND
index 8796c5757096dd1dbbf07ffc9dad30c94e91c8b5..d00504bd3139d22fe8147aa63a1ed6a6c8f8a495 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 type socklen_t
 
 type sa_family_t
index 03be4814ecd003ac9fdfd4ef765ebd9eec7873ac..ba80a5adc6ec9fa07deb38ff89957c233d15a8a2 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 
 #if !defined POSIX && !defined POSIX2008 && !defined XPG4 && !defined XPG42
 type blkcnt_t
index 2a74813e3d4a17d9242f9a410cfbecf874a141d8..712fbcf47a4ebd3eaa30e4d41cdd7f24cc3cd081 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 type {struct statvfs}
 
 element {struct statvfs} {unsigned long} f_bsize
index 30523e1af4c6999043ffdd4859517ad72561802f..df5b6b9730e4542180f33e44ebfded067830fb15 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 type {struct timeval}
 
 element {struct timeval} time_t tv_sec
index 9638f73c8f6e5ff5810f795c768d8b8a16b1d74e..a1db5696211f1fbe74fa9057111c0cc9caf9af9f 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined POSIX2008 && !defined XOPEN2K8
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined POSIX2008 && !defined XOPEN2K8
 type {struct timeb}
 
 element {struct timeb} time_t time
index c93357b79302683b74a2b528fb7f3dc8567c7fe1..c4c3edf814a37bd68875b893f9eaa1aac7a71948 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type {struct tms}
 
 element {struct tms} clock_t tms_utime
index cc28eb76d462229f2597ac122b9f51b99e3ffac0..3330f9e195be185fb49684c6290fdade795425d5 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #if !defined POSIX
 # if !defined XPG4 && !defined XPG42
 type blkcnt_t
index b9fc66177c4df044d09639de90a9049934dd8a88..6da312c9dd2390f2cbc0df5ebce7108347c8fe06 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined POSIX2008
 type {struct iovec}
 
 element {struct iovec} {void*} iov_base
index 08bf9bcfd70e02c1d75833903815d4fba5c15614..8114024c8cde7da9a35ee667719611e10550b1e2 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4
 type {struct sockaddr_un}
 
 element {struct sockaddr_un} sa_family_t sun_family
index 82f7f397cab795075eba38556892b344513b3d31..f9045e38fb63eeab9b320310de43809766a52636 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type {struct utsname}
 
 element {struct utsname} char sysname []
index a6713461eaa4923505f71d4f8dd3569b8a3a05a5..5998748a2384eb9e3598d077506529d0d1547f93 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #ifdef  POSIX
 # define pid_t __pid_t
 #endif
index 6604d76d3e24faad15ad41f0db06c8a9c0f263a0..f72734d8f9c0be10959fc71f6c2520fa5ccfbb0c 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 constant LOG_PID
 constant LOG_CONS
 constant LOG_NDELAY
index 8477860e5780178a1a8d23cc1f5d53eb796e299f..43b2d0555cec7374d485fd7344db64d482f001e0 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 macro-str TMAGIC "ustar"
 macro-int-constant TMAGLEN {int} == 6
 macro-str TVERSION "00"
index bb2092bb6fa80e8f7d14da276e8911cccdacc5b1..87fbcb95658e80223ba593aa95f6b3107ca73e8e 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type cc_t
 type speed_t
 type tcflag_t
index 406e497726ce60b2c67a55cf913de71beed1e0ff..a6ba414fb9a704a9595965666455dd6b6426cc92 100644 (file)
@@ -1,4 +1,4 @@
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 
 macro ONCE_FLAG_INIT
 macro thread_local
index 9c1c19596e9e83771327db8fc98bffb59b2b9708..3b2846cd077af69ab8ef48fbe31a884a9b730f05 100644 (file)
@@ -1,7 +1,7 @@
 macro-constant NULL == 0
 macro CLOCKS_PER_SEC {clock_t}
 
-#ifdef ISO11
+#if defined ISO11 || defined ISO23
 macro-int-constant TIME_UTC > 0
 #endif
 
@@ -38,11 +38,11 @@ function {char*} ctime (const time_t*)
 function {struct tm*} gmtime (const time_t*)
 function {struct tm*} localtime (const time_t*)
 function size_t strftime (char*, size_t, const char*, const struct tm*)
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 function int timespec_get (struct timespec *, int)
 #endif
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 # if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
 symbol CLK_TCK
 # endif
index ef27617bc4e8e76dcb87d2016aa0aa2ae95335ed..14718adf50fa7641bec523e9f250c509b11cf6bc 100644 (file)
@@ -1,4 +1,4 @@
-#if defined ISO11
+#if defined ISO11 || defined ISO23
 type mbstate_t
 type size_t
 type char16_t
index e3dcb3014bd353b13575666e452c6a7109cd4201..414635f6647ec94285263578cbc6ccedc2efa7f5 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4 && !defined POSIX2008 && !defined XOPEN2K8
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined XPG4 && !defined POSIX2008 && !defined XOPEN2K8
 type mcontext_t
 
 type ucontext_t
index 1e5e5b471deebe5c9a685c97fdce705ddcfb4b86..fbe3ec25f46b49eff873e5bed944db80e14e191d 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 constant UL_GETFSIZE
 constant UL_SETFSIZE
 
index aa070528e8303f6cb64e09b2999664ec45bd2c38..b4531868fd044003da0f0f595f02fe249cc8de2c 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #ifdef POSIX
 # define uid_t __uid_t
 # define gid_t __gid_t
index e3201651c1b086a68dc5cbaaa09f1d0a28df629e..2ca26efab20c278eb9a3b2b0dbfa23af95336f63 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 #ifdef POSIX
 # define time_t __time_t
 #endif
index cfe2a08634026ebd610af24645f21ae5f8bf3576..28ad96a486dcf016f4e4e5999c3c166fa5d2f55e 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008 && !defined XPG4
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008 && !defined XPG4
 type {struct utmpx}
 
 element {struct utmpx} char ut_user []
index 243321090deae6ad76b9534a82d1790ee350e91a..4c8a2e3c82f245becb05e5de22a4e0bfea89dae3 100644 (file)
@@ -1,11 +1,11 @@
 #if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42
 type wchar_t
 type wint_t
-# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
 type wctype_t
 # endif
 type mbstate_t
-# if !defined ISO99 && !defined ISO11
+# if !defined ISO99 && !defined ISO11 && !defined ISO23
 type FILE
 # else
 #  define FILE __FILE
@@ -15,7 +15,7 @@ type size_t
 type locale_t
 # endif
 tag {struct tm}
-# if !defined ISO99 && !defined ISO11 && !defined UNIX98
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined UNIX98
 type va_list
 # else
 #  define va_list __gnuc_va_list
@@ -24,7 +24,7 @@ type va_list
 function wint_t btowc (int)
 function int fwprintf (FILE*, const wchar_t*, ...)
 function int fwscanf (FILE*, const wchar_t*, ...)
-# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
 function int iswalnum (wint_t)
 function int iswalpha (wint_t)
 function int iswcntrl (wint_t)
@@ -59,7 +59,7 @@ function wint_t putwc (wchar_t, FILE*)
 function wint_t putwchar (wchar_t)
 function int swprintf (wchar_t*, size_t, const wchar_t*, ...)
 function int swscanf (const wchar_t*, const wchar_t*, ...)
-# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
 function wint_t towlower (wint_t)
 function wint_t towupper (wint_t)
 # endif
@@ -132,7 +132,7 @@ function {unsigned long long int} wcstoull (const wchar_t*, wchar_t**, int)
 # if defined UNIX98 || defined XOPEN2K
 function {wchar_t*} wcswcs (const wchar_t*, const wchar_t*)
 # endif
-# if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
 function int wcswidth (const wchar_t*, size_t)
 # endif
 function size_t wcsxfrm (wchar_t*, const wchar_t*, size_t)
@@ -140,7 +140,7 @@ function size_t wcsxfrm (wchar_t*, const wchar_t*, size_t)
 function size_t wcsxfrm_l (wchar_t*, const wchar_t*, size_t, locale_t)
 # endif
 function int wctob (wint_t)
-# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
+# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
 function wctype_t wctype (const char*)
 function int wcwidth (wchar_t)
 # endif
@@ -157,7 +157,7 @@ macro-int-constant WCHAR_MAX {promoted:wchar_t} >= 127
 macro-constant WEOF {wint_t}
 macro-constant NULL == 0
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow-header ctype.h
 allow-header stdio.h
 allow-header stdarg.h
@@ -168,7 +168,7 @@ allow-header time.h
 #endif
 
 allow wcs[abcdefghijklmnopqrstuvwxyz]*
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #endif
index 944fe6efabe1e1f8db13387eaa36dc1cf1d61032..f939f3c6523943d21071313b5a72d50d92d938d7 100644 (file)
@@ -49,7 +49,7 @@ function wctype_t wctype_l (const char*, locale_t)
 
 macro-constant WEOF {wint_t}
 
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow-header ctype.h
 allow-header stdio.h
 allow-header stdarg.h
@@ -62,7 +62,7 @@ allow-header wchar.h
 
 allow is[abcdefghijklmnopqrstuvwxyz]*
 allow to[abcdefghijklmnopqrstuvwxyz]*
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 allow *_t
 #endif
 #endif
index 0d96d68edca8eaf3bdef858b3fc93de3e48b6b1a..eed4754e0c936f4593eca7ac020284d8f0658fa1 100644 (file)
@@ -1,4 +1,4 @@
-#if !defined ISO && !defined ISO99 && !defined ISO11
+#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
 type wordexp_t
 
 element wordexp_t size_t we_wordc