mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-10 05:03:06 +03:00
conform: Add initial support for C23.
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>
This commit is contained in:
committed by
Joseph Myers
parent
e53eb952b9
commit
d18213c699
@@ -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}
|
type {struct aiocb}
|
||||||
|
|
||||||
// Test elements of the AIO control struct.
|
// Test elements of the AIO control struct.
|
||||||
|
@@ -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
|
// in_port_t should have exactly 16 bits
|
||||||
type in_port_t
|
type in_port_t
|
||||||
// in_addr_t should have exactly 32 bits
|
// in_addr_t should have exactly 32 bits
|
||||||
|
@@ -1,9 +1,9 @@
|
|||||||
macro assert
|
macro assert
|
||||||
|
|
||||||
#ifdef ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
macro static_assert
|
macro static_assert
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -74,7 +74,7 @@ function {long double complex} csqrtl (long double complex)
|
|||||||
function {long double complex} ctanhl (long double complex)
|
function {long double complex} ctanhl (long double complex)
|
||||||
function {long double complex} ctanl (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 {double complex} CMPLX (double, double)
|
||||||
macro-function {float complex} CMPLXF (float, float)
|
macro-function {float complex} CMPLXF (float, float)
|
||||||
macro-function {long double complex} CMPLXL (long double, long double)
|
macro-function {long double complex} CMPLXL (long double, long double)
|
||||||
|
@@ -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_IRUSR == 0000400
|
||||||
constant C_IWUSR == 0000200
|
constant C_IWUSR == 0000200
|
||||||
constant C_IXUSR == 0000100
|
constant C_IXUSR == 0000100
|
||||||
|
@@ -16,7 +16,7 @@ function int toupper (int)
|
|||||||
function int isblank (int)
|
function int isblank (int)
|
||||||
#endif
|
#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 isascii (int)
|
||||||
function int toascii (int)
|
function int toascii (int)
|
||||||
|
|
||||||
@@ -46,6 +46,6 @@ function int toupper_l (int, locale_t)
|
|||||||
allow is[abcdefghijklmnopqrstuvwxyz]*
|
allow is[abcdefghijklmnopqrstuvwxyz]*
|
||||||
allow to[abcdefghijklmnopqrstuvwxyz]*
|
allow to[abcdefghijklmnopqrstuvwxyz]*
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type DIR
|
type DIR
|
||||||
|
|
||||||
type {struct dirent}
|
type {struct dirent}
|
||||||
|
@@ -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_LAZY
|
||||||
macro RTLD_NOW
|
macro RTLD_NOW
|
||||||
macro RTLD_GLOBAL
|
macro RTLD_GLOBAL
|
||||||
|
@@ -7,7 +7,7 @@ macro-int-constant ERANGE {int} > 0
|
|||||||
// variable int errno
|
// variable int errno
|
||||||
allow 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 E2BIG {int} > 0
|
||||||
macro-int-constant EACCES {int} > 0
|
macro-int-constant EACCES {int} > 0
|
||||||
# if !defined POSIX
|
# if !defined POSIX
|
||||||
|
@@ -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_DUPFD
|
||||||
constant F_GETFD
|
constant F_GETFD
|
||||||
constant F_SETFD
|
constant F_SETFD
|
||||||
|
@@ -30,7 +30,7 @@ function int feholdexcept (fenv_t*)
|
|||||||
function int fesetenv (const fenv_t*)
|
function int fesetenv (const fenv_t*)
|
||||||
function int feupdateenv (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
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -43,7 +43,7 @@ macro-int-constant DECIMAL_DIG >= 10
|
|||||||
macro-int-constant FLT_EVAL_METHOD
|
macro-int-constant FLT_EVAL_METHOD
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
macro-int-constant DBL_HAS_SUBNORM
|
macro-int-constant DBL_HAS_SUBNORM
|
||||||
macro-int-constant FLT_HAS_SUBNORM
|
macro-int-constant FLT_HAS_SUBNORM
|
||||||
macro-int-constant LDBL_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
|
macro-constant LDBL_TRUE_MIN <= 1E-37
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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
|
macro MM_HARD
|
||||||
constant MM_HARD
|
constant MM_HARD
|
||||||
|
|
||||||
|
@@ -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_NOMATCH
|
||||||
constant FNM_PATHNAME
|
constant FNM_PATHNAME
|
||||||
constant FNM_PERIOD
|
constant FNM_PERIOD
|
||||||
|
@@ -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
|
# ifndef XPG4
|
||||||
type {struct FTW}
|
type {struct FTW}
|
||||||
element {struct FTW} int base
|
element {struct FTW} int base
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
# define size_t __size_t
|
# define size_t __size_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
# define gid_t __gid_t
|
# define gid_t __gid_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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
|
type iconv_t
|
||||||
# if defined XOPEN2K8 || defined POSIX2008
|
# if defined XOPEN2K8 || defined POSIX2008
|
||||||
type size_t
|
type size_t
|
||||||
|
@@ -11,7 +11,7 @@ macro or_eq
|
|||||||
macro xor
|
macro xor
|
||||||
macro xor_eq
|
macro xor_eq
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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 CODESET
|
||||||
constant D_T_FMT
|
constant D_T_FMT
|
||||||
constant D_FMT
|
constant D_FMT
|
||||||
|
@@ -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*} basename (char*)
|
||||||
function {char*} dirname (char*)
|
function {char*} dirname (char*)
|
||||||
|
|
||||||
|
@@ -20,13 +20,13 @@ macro-int-constant UINT_MAX {unsigned int} >= 4294967295U
|
|||||||
macro-int-constant LONG_MAX {long int} >= 2147483647L
|
macro-int-constant LONG_MAX {long int} >= 2147483647L
|
||||||
macro-int-constant LONG_MIN {long int} <= -2147483647L
|
macro-int-constant LONG_MIN {long int} <= -2147483647L
|
||||||
macro-int-constant ULONG_MAX {unsigned long int} >= 4294967295UL
|
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_MIN {long long int} <= -9223372036854775807ll
|
||||||
macro-int-constant LLONG_MAX {long long int} >= 9223372036854775807ll
|
macro-int-constant LLONG_MAX {long long int} >= 9223372036854775807ll
|
||||||
macro-int-constant ULLONG_MAX {unsigned long long int} >= 18446744073709551615ull
|
macro-int-constant ULLONG_MAX {unsigned long long int} >= 18446744073709551615ull
|
||||||
#endif
|
#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
|
// if these values exist, we should check the minimal value
|
||||||
allow AIO_LISTIO_MAX
|
allow AIO_LISTIO_MAX
|
||||||
allow AIO_MAX
|
allow AIO_MAX
|
||||||
|
@@ -31,7 +31,7 @@ macro-constant NULL == 0
|
|||||||
macro-int-constant LC_ALL
|
macro-int-constant LC_ALL
|
||||||
macro-int-constant LC_COLLATE
|
macro-int-constant LC_COLLATE
|
||||||
macro-int-constant LC_CTYPE
|
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
|
macro-int-constant LC_MESSAGES
|
||||||
#endif
|
#endif
|
||||||
macro-int-constant LC_MONETARY
|
macro-int-constant LC_MONETARY
|
||||||
@@ -62,7 +62,7 @@ function locale_t uselocale (locale_t)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
allow LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
|
allow LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#if defined XOPEN2K8 || defined POSIX2008
|
#if defined XOPEN2K8 || defined POSIX2008
|
||||||
|
@@ -21,7 +21,7 @@ type double_t
|
|||||||
function int isnan (double)
|
function int isnan (double)
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
|
# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
|
||||||
constant M_E
|
constant M_E
|
||||||
constant M_LOG2E
|
constant M_LOG2E
|
||||||
constant M_LOG10E
|
constant M_LOG10E
|
||||||
@@ -104,7 +104,7 @@ function double gamma (double)
|
|||||||
#endif
|
#endif
|
||||||
#if !defined ISO && !defined POSIX
|
#if !defined ISO && !defined POSIX
|
||||||
function double hypot (double, double)
|
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 j0 (double)
|
||||||
function double j1 (double)
|
function double j1 (double)
|
||||||
function double jn (int, double)
|
function double jn (int, double)
|
||||||
@@ -113,7 +113,7 @@ function double lgamma (double)
|
|||||||
# if !defined XPG4 && !defined XPG42 && !defined UNIX98
|
# if !defined XPG4 && !defined XPG42 && !defined UNIX98
|
||||||
function double tgamma (double)
|
function double tgamma (double)
|
||||||
# endif
|
# 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 y0 (double)
|
||||||
function double y1 (double)
|
function double y1 (double)
|
||||||
function double yn (int, double)
|
function double yn (int, double)
|
||||||
@@ -157,7 +157,7 @@ function double nan (const char*)
|
|||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# if !defined ISO99 && !defined ISO11 && !defined POSIX && !defined POSIX2008
|
# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX && !defined POSIX2008
|
||||||
// variable signgam
|
// variable signgam
|
||||||
allow signgam
|
allow signgam
|
||||||
# endif
|
# endif
|
||||||
@@ -327,7 +327,7 @@ allow tanl
|
|||||||
allow tanhl
|
allow tanhl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
|
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42 && !defined UNIX98
|
||||||
|
@@ -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 size_t
|
||||||
type ssize_t
|
type ssize_t
|
||||||
# if defined XOPEN2K8 || defined POSIX2008
|
# if defined XOPEN2K8 || defined POSIX2008
|
||||||
|
@@ -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.
|
// should test for not an array type.
|
||||||
type mqd_t
|
type mqd_t
|
||||||
|
|
||||||
|
@@ -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
|
type datum
|
||||||
element datum {void*} dptr
|
element datum {void*} dptr
|
||||||
element datum size_t dsize
|
element datum size_t dsize
|
||||||
|
@@ -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}
|
type {struct if_nameindex}
|
||||||
|
|
||||||
element {struct if_nameindex} {unsigned int} if_index
|
element {struct if_nameindex} {unsigned int} if_index
|
||||||
|
@@ -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_port_t
|
||||||
optional-type in_addr_t
|
optional-type in_addr_t
|
||||||
|
|
||||||
|
@@ -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_port_t
|
||||||
type in_addr_t
|
type in_addr_t
|
||||||
|
|
||||||
|
@@ -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_catd
|
||||||
type nl_item
|
type nl_item
|
||||||
|
|
||||||
|
@@ -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}
|
type {struct pollfd}
|
||||||
element {struct pollfd} int fd
|
element {struct pollfd} int fd
|
||||||
element {struct pollfd} {short int} events
|
element {struct pollfd} {short int} events
|
||||||
|
@@ -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_ASYNCHRONOUS
|
||||||
constant PTHREAD_CANCEL_ENABLE
|
constant PTHREAD_CANCEL_ENABLE
|
||||||
constant PTHREAD_CANCEL_DEFERRED
|
constant PTHREAD_CANCEL_DEFERRED
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
# define uid_t __uid_t
|
# define uid_t __uid_t
|
||||||
# define gid_t __gid_t
|
# define gid_t __gid_t
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type regex_t
|
type regex_t
|
||||||
element regex_t size_t re_nsub
|
element regex_t size_t re_nsub
|
||||||
|
|
||||||
|
@@ -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
|
# if defined POSIX || defined UNIX98
|
||||||
# include "time.h-data"
|
# include "time.h-data"
|
||||||
# else
|
# else
|
||||||
|
@@ -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 ENTRY
|
||||||
type {struct entry}
|
type {struct entry}
|
||||||
element {struct entry} {char*} key
|
element {struct entry} {char*} key
|
||||||
|
@@ -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
|
type sem_t
|
||||||
|
|
||||||
constant SEM_FAILED
|
constant SEM_FAILED
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
type jmp_buf
|
type jmp_buf
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type sigjmp_buf
|
type sigjmp_buf
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
function void longjmp (jmp_buf, int)
|
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)
|
function void siglongjmp (sigjmp_buf, int)
|
||||||
# if !defined POSIX && !defined POSIX2008
|
# if !defined POSIX && !defined POSIX2008
|
||||||
function void _longjmp (jmp_buf, int)
|
function void _longjmp (jmp_buf, int)
|
||||||
@@ -12,13 +12,13 @@ function void _longjmp (jmp_buf, int)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
macro-function int setjmp (jmp_buf)
|
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)
|
macro-function int sigsetjmp (sigjmp_buf, int)
|
||||||
# if !defined POSIX && !defined POSIX2008
|
# if !defined POSIX && !defined POSIX2008
|
||||||
macro-function int _setjmp (jmp_buf)
|
macro-function int _setjmp (jmp_buf)
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,15 +1,15 @@
|
|||||||
macro-constant SIG_DFL {void(*)(int)}
|
macro-constant SIG_DFL {void(*)(int)}
|
||||||
macro-constant SIG_ERR {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)}
|
macro-constant SIG_HOLD {void(*)(int)}
|
||||||
#endif
|
#endif
|
||||||
macro-constant SIG_IGN {void(*)(int)}
|
macro-constant SIG_IGN {void(*)(int)}
|
||||||
|
|
||||||
type sig_atomic_t
|
type sig_atomic_t
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type sigset_t
|
type sigset_t
|
||||||
#endif
|
#endif
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX
|
||||||
type pid_t
|
type pid_t
|
||||||
#elif defined POSIX
|
#elif defined POSIX
|
||||||
# define pid_t __pid_t
|
# define pid_t __pid_t
|
||||||
@@ -68,7 +68,7 @@ macro-int-constant SIGTERM {int} > 0
|
|||||||
function void (*signal (int, void(*)(int)))(int)
|
function void (*signal (int, void(*)(int)))(int)
|
||||||
function int raise (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 SIGALRM {int} > 0
|
||||||
macro-int-constant SIGHUP {int} > 0
|
macro-int-constant SIGHUP {int} > 0
|
||||||
macro-int-constant SIGKILL {int} > 0
|
macro-int-constant SIGKILL {int} > 0
|
||||||
|
@@ -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_spawnattr_t
|
||||||
type posix_spawn_file_actions_t
|
type posix_spawn_file_actions_t
|
||||||
# if defined XOPEN2K8 || defined POSIX2008
|
# if defined XOPEN2K8 || defined POSIX2008
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
macro alignas
|
macro alignas
|
||||||
macro alignof
|
macro alignof
|
||||||
macro-int-constant __alignas_is_defined {int} == 1
|
macro-int-constant __alignas_is_defined {int} == 1
|
||||||
|
@@ -5,10 +5,10 @@ macro va_start
|
|||||||
macro va_arg
|
macro va_arg
|
||||||
macro va_end
|
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
|
macro va_copy
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -4,7 +4,7 @@ macro-int-constant true {int} == 1
|
|||||||
macro-int-constant false {int} == 0
|
macro-int-constant false {int} == 0
|
||||||
macro-int-constant __bool_true_false_are_defined {int} == 1
|
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
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -6,10 +6,10 @@ type ptrdiff_t
|
|||||||
type wchar_t
|
type wchar_t
|
||||||
type size_t
|
type size_t
|
||||||
|
|
||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
type max_align_t
|
type max_align_t
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -6,7 +6,7 @@ macro-int-constant _IOFBF
|
|||||||
macro-int-constant _IOLBF
|
macro-int-constant _IOLBF
|
||||||
macro-int-constant _IONBF
|
macro-int-constant _IONBF
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
constant L_ctermid
|
constant L_ctermid
|
||||||
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
||||||
# ifdef POSIX
|
# ifdef POSIX
|
||||||
@@ -28,7 +28,7 @@ macro-int-constant EOF < 0
|
|||||||
|
|
||||||
macro-constant NULL == 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
|
constant P_tmpdir
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ macro stderr {FILE *}
|
|||||||
|
|
||||||
type FILE
|
type FILE
|
||||||
type fpos_t
|
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
|
type va_list
|
||||||
#else
|
#else
|
||||||
#define va_list __gnuc_va_list
|
#define va_list __gnuc_va_list
|
||||||
@@ -50,7 +50,7 @@ type ssize_t
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
function void clearerr (FILE*)
|
function void clearerr (FILE*)
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
function {char*} ctermid (char*)
|
function {char*} ctermid (char*)
|
||||||
# if defined XPG4 || defined XPG42 || defined UNIX98
|
# if defined XPG4 || defined XPG42 || defined UNIX98
|
||||||
function {char*} cuserid (char*)
|
function {char*} cuserid (char*)
|
||||||
@@ -60,7 +60,7 @@ function {char*} cuserid (char*)
|
|||||||
function int dprintf (int, const char*, ...)
|
function int dprintf (int, const char*, ...)
|
||||||
#endif
|
#endif
|
||||||
function int fclose (FILE*)
|
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*)
|
function {FILE*} fdopen (int, const char*)
|
||||||
#endif
|
#endif
|
||||||
function int feof (FILE*)
|
function int feof (FILE*)
|
||||||
@@ -69,7 +69,7 @@ function int fflush (FILE*)
|
|||||||
function int fgetc (FILE*)
|
function int fgetc (FILE*)
|
||||||
function int fgetpos (FILE*, fpos_t*)
|
function int fgetpos (FILE*, fpos_t*)
|
||||||
function {char*} fgets (char*, int, FILE*)
|
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*)
|
function int fileno (FILE*)
|
||||||
#endif
|
#endif
|
||||||
#if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
|
#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
|
#if defined XPG4 || defined XPG42 || defined UNIX98
|
||||||
function int getopt (int, char *const[], const char *)
|
function int getopt (int, char *const[], const char *)
|
||||||
#endif
|
#endif
|
||||||
#if !defined ISO11
|
#if !defined ISO11 && !defined ISO23
|
||||||
function {char*} gets (char*)
|
function {char*} gets (char*)
|
||||||
#endif
|
#endif
|
||||||
#if defined XPG4 || defined XPG42 || defined UNIX98
|
#if defined XPG4 || defined XPG42 || defined UNIX98
|
||||||
@@ -121,11 +121,11 @@ function int getw (FILE*)
|
|||||||
#if defined XOPEN2K8 || defined POSIX2008
|
#if defined XOPEN2K8 || defined POSIX2008
|
||||||
function {FILE*} open_memstream (char**, size_t*)
|
function {FILE*} open_memstream (char**, size_t*)
|
||||||
#endif
|
#endif
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
function int pclose (FILE*)
|
function int pclose (FILE*)
|
||||||
#endif
|
#endif
|
||||||
function void perror (const char*)
|
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*)
|
function {FILE*} popen (const char*, const char*)
|
||||||
#endif
|
#endif
|
||||||
function int printf (const char*, ...)
|
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)
|
function int vsscanf (const char*, const char*, va_list)
|
||||||
#endif
|
#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
|
#if !defined POSIX && !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
||||||
variable {char*} optarg
|
variable {char*} optarg
|
||||||
variable int opterr
|
variable int opterr
|
||||||
|
@@ -12,7 +12,7 @@ macro-constant NULL == 0
|
|||||||
macro-int-constant RAND_MAX >= 32767
|
macro-int-constant RAND_MAX >= 32767
|
||||||
macro MB_CUR_MAX
|
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
|
type lldiv_t
|
||||||
element lldiv_t {long long} quot
|
element lldiv_t {long long} quot
|
||||||
element lldiv_t {long long} rem
|
element lldiv_t {long long} rem
|
||||||
@@ -20,7 +20,7 @@ element lldiv_t {long long} rem
|
|||||||
type size_t
|
type size_t
|
||||||
type wchar_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 WNOHANG
|
||||||
constant WUNTRACED
|
constant WUNTRACED
|
||||||
|
|
||||||
@@ -35,16 +35,16 @@ macro WTERMSIG
|
|||||||
#if !defined ISO && !defined XPG4 && !defined XPG42 && !defined UNIX98 && !defined POSIX
|
#if !defined ISO && !defined XPG4 && !defined XPG42 && !defined UNIX98 && !defined POSIX
|
||||||
function void _Exit (int)
|
function void _Exit (int)
|
||||||
#endif
|
#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*)
|
function long a64l (const char*)
|
||||||
#endif
|
#endif
|
||||||
function void abort (void)
|
function void abort (void)
|
||||||
function int abs (int)
|
function int abs (int)
|
||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
function {void *} aligned_alloc (size_t, size_t)
|
function {void *} aligned_alloc (size_t, size_t)
|
||||||
#endif
|
#endif
|
||||||
function int atexit (void(*)(void))
|
function int atexit (void(*)(void))
|
||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
function int at_quick_exit (void (*) (void))
|
function int at_quick_exit (void (*) (void))
|
||||||
#endif
|
#endif
|
||||||
function double atof (const char*)
|
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*} bsearch (const void*, const void*, size_t, size_t, int(*)(const void*, const void*))
|
||||||
function {void*} calloc (size_t, size_t)
|
function {void*} calloc (size_t, size_t)
|
||||||
function div_t div (int, int)
|
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)
|
function double drand48 (void)
|
||||||
#endif
|
#endif
|
||||||
#if defined XPG42 || defined UNIX98 || defined XOPEN2K
|
#if defined XPG42 || defined UNIX98 || defined XOPEN2K
|
||||||
function {char*} ecvt (double, int, int*, int*)
|
function {char*} ecvt (double, int, int*, int*)
|
||||||
#endif
|
#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])
|
function double erand48 (unsigned short int[3])
|
||||||
#endif
|
#endif
|
||||||
function void exit (int)
|
function void exit (int)
|
||||||
@@ -74,21 +74,21 @@ function void free (void*)
|
|||||||
function {char*} gcvt (double, int, char*)
|
function {char*} gcvt (double, int, char*)
|
||||||
#endif
|
#endif
|
||||||
function {char*} getenv (const char*)
|
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**)
|
function int getsubopt (char**, char *const*, char**)
|
||||||
#endif
|
#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 int grantpt (int)
|
||||||
function {char*} initstate (unsigned int, char*, size_t)
|
function {char*} initstate (unsigned int, char*, size_t)
|
||||||
#endif
|
#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])
|
function {long int} jrand48 (unsigned short int[3])
|
||||||
#endif
|
#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)
|
function {char*} l64a (long)
|
||||||
#endif
|
#endif
|
||||||
function {long int} labs (long int)
|
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])
|
function void lcong48 (unsigned short int[7])
|
||||||
#endif
|
#endif
|
||||||
function ldiv_t ldiv (long int, long int)
|
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 {long long} llabs (long long)
|
||||||
function lldiv_t lldiv (long long, long long)
|
function lldiv_t lldiv (long long, long long)
|
||||||
#endif
|
#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)
|
function {long int} lrand48 (void)
|
||||||
#endif
|
#endif
|
||||||
function {void*} malloc (size_t)
|
function {void*} malloc (size_t)
|
||||||
@@ -106,13 +106,13 @@ function int mbtowc (wchar_t*, const char*, size_t)
|
|||||||
#if defined XOPEN2K8 || defined POSIX2008
|
#if defined XOPEN2K8 || defined POSIX2008
|
||||||
function {char*} mkdtemp (char*)
|
function {char*} mkdtemp (char*)
|
||||||
#endif
|
#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*)
|
function {char*} mktemp (char*)
|
||||||
#endif
|
#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*)
|
function int mkstemp (char*)
|
||||||
#endif
|
#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} mrand48 (void)
|
||||||
function {long int} nrand48 (unsigned short int[3])
|
function {long int} nrand48 (unsigned short int[3])
|
||||||
#endif
|
#endif
|
||||||
@@ -122,41 +122,41 @@ function int posix_memalign (void**, size_t, size_t)
|
|||||||
#if defined XOPEN2K || defined XOPEN2K8
|
#if defined XOPEN2K || defined XOPEN2K8
|
||||||
function int posix_openpt (int)
|
function int posix_openpt (int)
|
||||||
#endif
|
#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)
|
function {char*} ptsname (int)
|
||||||
#endif
|
#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*)
|
function int putenv (char*)
|
||||||
#endif
|
#endif
|
||||||
function void qsort (void*, size_t, size_t, int(*)(const void*, const void*))
|
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)
|
function void quick_exit (int)
|
||||||
#endif
|
#endif
|
||||||
function int rand (void)
|
function int rand (void)
|
||||||
#if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
|
#if defined POSIX || defined UNIX98 || defined XOPEN2K || defined XOPEN2K8 || defined POSIX2008
|
||||||
function int rand_r (unsigned int*)
|
function int rand_r (unsigned int*)
|
||||||
#endif
|
#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)
|
function long random (void)
|
||||||
#endif
|
#endif
|
||||||
function {void*} realloc (void*, size_t)
|
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*)
|
function {char*} realpath (const char*, char*)
|
||||||
#endif
|
#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])
|
function {unsigned short int*} seed48 (unsigned short int[3])
|
||||||
#endif
|
#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)
|
function int setenv (const char*, const char*, int)
|
||||||
#endif
|
#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*)
|
function {char*} setstate (char*)
|
||||||
#endif
|
#endif
|
||||||
function void srand (unsigned int)
|
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)
|
function void srand48 (long int)
|
||||||
#endif
|
#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)
|
function void srandom (unsigned)
|
||||||
#endif
|
#endif
|
||||||
function double strtod (const char*, char**)
|
function double strtod (const char*, char**)
|
||||||
@@ -174,10 +174,10 @@ function int system (const char*)
|
|||||||
#if defined XPG42 || defined UNIX98
|
#if defined XPG42 || defined UNIX98
|
||||||
function int ttyslot (void)
|
function int ttyslot (void)
|
||||||
#endif
|
#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)
|
function int unlockpt (int)
|
||||||
#endif
|
#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*)
|
function int unsetenv (const char*)
|
||||||
#endif
|
#endif
|
||||||
#if defined XPG42 || defined UNIX98
|
#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 size_t wcstombs (char*, const wchar_t*, size_t)
|
||||||
function int wctomb (char*, wchar_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 stddef.h
|
||||||
allow-header limits.h
|
allow-header limits.h
|
||||||
allow-header math.h
|
allow-header math.h
|
||||||
@@ -194,6 +194,6 @@ allow-header sys/wait.h
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
allow str[abcdefghijklmnopqrstuvwxyz]*
|
allow str[abcdefghijklmnopqrstuvwxyz]*
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
macro noreturn
|
macro noreturn
|
||||||
#endif
|
#endif
|
||||||
|
@@ -5,7 +5,7 @@ type size_t
|
|||||||
type locale_t
|
type locale_t
|
||||||
#endif
|
#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)
|
function {void*} memccpy (void*, const void*, int, size_t)
|
||||||
#endif
|
#endif
|
||||||
function {void*} memchr (const void*, int, size_t)
|
function {void*} memchr (const void*, int, size_t)
|
||||||
@@ -27,7 +27,7 @@ function int strcoll_l (const char*, const char*, locale_t)
|
|||||||
#endif
|
#endif
|
||||||
function {char*} strcpy (char*, const char*)
|
function {char*} strcpy (char*, const char*)
|
||||||
function size_t strcspn (const 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*)
|
function {char*} strdup (const char*)
|
||||||
#endif
|
#endif
|
||||||
function {char*} strerror (int)
|
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)
|
function size_t strxfrm_l (char*, const char*, size_t, locale_t)
|
||||||
#endif
|
#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
|
allow-header stddef.h
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
allow str[abcdefghijklmnopqrstuvwxyz]*
|
allow str[abcdefghijklmnopqrstuvwxyz]*
|
||||||
allow mem[abcdefghijklmnopqrstuvwxyz]*
|
allow mem[abcdefghijklmnopqrstuvwxyz]*
|
||||||
allow wcs[abcdefghijklmnopqrstuvwxyz]*
|
allow wcs[abcdefghijklmnopqrstuvwxyz]*
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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
|
# if !defined XOPEN2K8 && !defined POSIX2008
|
||||||
function int bcmp (const void*, const void*, size_t)
|
function int bcmp (const void*, const void*, size_t)
|
||||||
function void bcopy (const void*, void*, size_t)
|
function void bcopy (const void*, void*, size_t)
|
||||||
|
@@ -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}
|
type {struct ipc_perm}
|
||||||
|
|
||||||
// Bug 23082: uid/gid/cuid/cgid/mode have type unsigned short instead of uid_t and mode_t.
|
// Bug 23082: uid/gid/cuid/cgid/mode have type unsigned short instead of uid_t and mode_t.
|
||||||
|
@@ -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_READ
|
||||||
constant PROT_WRITE
|
constant PROT_WRITE
|
||||||
constant PROT_EXEC
|
constant PROT_EXEC
|
||||||
|
@@ -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 {struct msqid_ds}
|
||||||
|
|
||||||
type msgqnum_t
|
type msgqnum_t
|
||||||
|
@@ -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_PROCESS
|
||||||
constant PRIO_PGRP
|
constant PRIO_PGRP
|
||||||
constant PRIO_USER
|
constant PRIO_USER
|
||||||
|
@@ -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 time_t
|
||||||
type suseconds_t
|
type suseconds_t
|
||||||
|
|
||||||
|
@@ -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 SEM_UNDO
|
||||||
|
|
||||||
constant GETNCNT
|
constant GETNCNT
|
||||||
|
@@ -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
|
constant SHM_RDONLY
|
||||||
symbol SHMLBA
|
symbol SHMLBA
|
||||||
constant SHM_RND
|
constant SHM_RND
|
||||||
|
@@ -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 socklen_t
|
||||||
|
|
||||||
type sa_family_t
|
type sa_family_t
|
||||||
|
@@ -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
|
#if !defined POSIX && !defined POSIX2008 && !defined XPG4 && !defined XPG42
|
||||||
type blkcnt_t
|
type blkcnt_t
|
||||||
|
@@ -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}
|
type {struct statvfs}
|
||||||
|
|
||||||
element {struct statvfs} {unsigned long} f_bsize
|
element {struct statvfs} {unsigned long} f_bsize
|
||||||
|
@@ -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}
|
type {struct timeval}
|
||||||
|
|
||||||
element {struct timeval} time_t tv_sec
|
element {struct timeval} time_t tv_sec
|
||||||
|
@@ -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}
|
type {struct timeb}
|
||||||
|
|
||||||
element {struct timeb} time_t time
|
element {struct timeb} time_t time
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type {struct tms}
|
type {struct tms}
|
||||||
|
|
||||||
element {struct tms} clock_t tms_utime
|
element {struct tms} clock_t tms_utime
|
||||||
|
@@ -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 POSIX
|
||||||
# if !defined XPG4 && !defined XPG42
|
# if !defined XPG4 && !defined XPG42
|
||||||
type blkcnt_t
|
type blkcnt_t
|
||||||
|
@@ -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}
|
type {struct iovec}
|
||||||
|
|
||||||
element {struct iovec} {void*} iov_base
|
element {struct iovec} {void*} iov_base
|
||||||
|
@@ -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}
|
type {struct sockaddr_un}
|
||||||
|
|
||||||
element {struct sockaddr_un} sa_family_t sun_family
|
element {struct sockaddr_un} sa_family_t sun_family
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type {struct utsname}
|
type {struct utsname}
|
||||||
|
|
||||||
element {struct utsname} char sysname []
|
element {struct utsname} char sysname []
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
# define pid_t __pid_t
|
# define pid_t __pid_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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_PID
|
||||||
constant LOG_CONS
|
constant LOG_CONS
|
||||||
constant LOG_NDELAY
|
constant LOG_NDELAY
|
||||||
|
@@ -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-str TMAGIC "ustar"
|
||||||
macro-int-constant TMAGLEN {int} == 6
|
macro-int-constant TMAGLEN {int} == 6
|
||||||
macro-str TVERSION "00"
|
macro-str TVERSION "00"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type cc_t
|
type cc_t
|
||||||
type speed_t
|
type speed_t
|
||||||
type tcflag_t
|
type tcflag_t
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
|
|
||||||
macro ONCE_FLAG_INIT
|
macro ONCE_FLAG_INIT
|
||||||
macro thread_local
|
macro thread_local
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
macro-constant NULL == 0
|
macro-constant NULL == 0
|
||||||
macro CLOCKS_PER_SEC {clock_t}
|
macro CLOCKS_PER_SEC {clock_t}
|
||||||
|
|
||||||
#ifdef ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
macro-int-constant TIME_UTC > 0
|
macro-int-constant TIME_UTC > 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -38,11 +38,11 @@ function {char*} ctime (const time_t*)
|
|||||||
function {struct tm*} gmtime (const time_t*)
|
function {struct tm*} gmtime (const time_t*)
|
||||||
function {struct tm*} localtime (const time_t*)
|
function {struct tm*} localtime (const time_t*)
|
||||||
function size_t strftime (char*, size_t, const char*, const struct tm*)
|
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)
|
function int timespec_get (struct timespec *, int)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
# if !defined XOPEN2K && !defined XOPEN2K8 && !defined POSIX2008
|
||||||
symbol CLK_TCK
|
symbol CLK_TCK
|
||||||
# endif
|
# endif
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if defined ISO11
|
#if defined ISO11 || defined ISO23
|
||||||
type mbstate_t
|
type mbstate_t
|
||||||
type size_t
|
type size_t
|
||||||
type char16_t
|
type char16_t
|
||||||
|
@@ -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 mcontext_t
|
||||||
|
|
||||||
type ucontext_t
|
type ucontext_t
|
||||||
|
@@ -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_GETFSIZE
|
||||||
constant UL_SETFSIZE
|
constant UL_SETFSIZE
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
# define uid_t __uid_t
|
# define uid_t __uid_t
|
||||||
# define gid_t __gid_t
|
# define gid_t __gid_t
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
# define time_t __time_t
|
# define time_t __time_t
|
||||||
#endif
|
#endif
|
||||||
|
@@ -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}
|
type {struct utmpx}
|
||||||
|
|
||||||
element {struct utmpx} char ut_user []
|
element {struct utmpx} char ut_user []
|
||||||
|
@@ -1,11 +1,11 @@
|
|||||||
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42
|
#if !defined ISO && !defined POSIX && !defined XPG4 && !defined XPG42
|
||||||
type wchar_t
|
type wchar_t
|
||||||
type wint_t
|
type wint_t
|
||||||
# if !defined ISO99 && !defined ISO11 && !defined POSIX2008
|
# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined POSIX2008
|
||||||
type wctype_t
|
type wctype_t
|
||||||
# endif
|
# endif
|
||||||
type mbstate_t
|
type mbstate_t
|
||||||
# if !defined ISO99 && !defined ISO11
|
# if !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type FILE
|
type FILE
|
||||||
# else
|
# else
|
||||||
# define FILE __FILE
|
# define FILE __FILE
|
||||||
@@ -15,7 +15,7 @@ type size_t
|
|||||||
type locale_t
|
type locale_t
|
||||||
# endif
|
# endif
|
||||||
tag {struct tm}
|
tag {struct tm}
|
||||||
# if !defined ISO99 && !defined ISO11 && !defined UNIX98
|
# if !defined ISO99 && !defined ISO11 && !defined ISO23 && !defined UNIX98
|
||||||
type va_list
|
type va_list
|
||||||
# else
|
# else
|
||||||
# define va_list __gnuc_va_list
|
# define va_list __gnuc_va_list
|
||||||
@@ -24,7 +24,7 @@ type va_list
|
|||||||
function wint_t btowc (int)
|
function wint_t btowc (int)
|
||||||
function int fwprintf (FILE*, const wchar_t*, ...)
|
function int fwprintf (FILE*, const wchar_t*, ...)
|
||||||
function int fwscanf (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 iswalnum (wint_t)
|
||||||
function int iswalpha (wint_t)
|
function int iswalpha (wint_t)
|
||||||
function int iswcntrl (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 wint_t putwchar (wchar_t)
|
||||||
function int swprintf (wchar_t*, size_t, const wchar_t*, ...)
|
function int swprintf (wchar_t*, size_t, const wchar_t*, ...)
|
||||||
function int swscanf (const wchar_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 towlower (wint_t)
|
||||||
function wint_t towupper (wint_t)
|
function wint_t towupper (wint_t)
|
||||||
# endif
|
# endif
|
||||||
@@ -132,7 +132,7 @@ function {unsigned long long int} wcstoull (const wchar_t*, wchar_t**, int)
|
|||||||
# if defined UNIX98 || defined XOPEN2K
|
# if defined UNIX98 || defined XOPEN2K
|
||||||
function {wchar_t*} wcswcs (const wchar_t*, const wchar_t*)
|
function {wchar_t*} wcswcs (const wchar_t*, const wchar_t*)
|
||||||
# endif
|
# 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)
|
function int wcswidth (const wchar_t*, size_t)
|
||||||
# endif
|
# endif
|
||||||
function size_t wcsxfrm (wchar_t*, const wchar_t*, size_t)
|
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)
|
function size_t wcsxfrm_l (wchar_t*, const wchar_t*, size_t, locale_t)
|
||||||
# endif
|
# endif
|
||||||
function int wctob (wint_t)
|
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 wctype_t wctype (const char*)
|
||||||
function int wcwidth (wchar_t)
|
function int wcwidth (wchar_t)
|
||||||
# endif
|
# endif
|
||||||
@@ -157,7 +157,7 @@ macro-int-constant WCHAR_MAX {promoted:wchar_t} >= 127
|
|||||||
macro-constant WEOF {wint_t}
|
macro-constant WEOF {wint_t}
|
||||||
macro-constant NULL == 0
|
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 ctype.h
|
||||||
allow-header stdio.h
|
allow-header stdio.h
|
||||||
allow-header stdarg.h
|
allow-header stdarg.h
|
||||||
@@ -168,7 +168,7 @@ allow-header time.h
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
allow wcs[abcdefghijklmnopqrstuvwxyz]*
|
allow wcs[abcdefghijklmnopqrstuvwxyz]*
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -49,7 +49,7 @@ function wctype_t wctype_l (const char*, locale_t)
|
|||||||
|
|
||||||
macro-constant WEOF {wint_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 ctype.h
|
||||||
allow-header stdio.h
|
allow-header stdio.h
|
||||||
allow-header stdarg.h
|
allow-header stdarg.h
|
||||||
@@ -62,7 +62,7 @@ allow-header wchar.h
|
|||||||
|
|
||||||
allow is[abcdefghijklmnopqrstuvwxyz]*
|
allow is[abcdefghijklmnopqrstuvwxyz]*
|
||||||
allow to[abcdefghijklmnopqrstuvwxyz]*
|
allow to[abcdefghijklmnopqrstuvwxyz]*
|
||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
allow *_t
|
allow *_t
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
#if !defined ISO && !defined ISO99 && !defined ISO11
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
|
||||||
type wordexp_t
|
type wordexp_t
|
||||||
|
|
||||||
element wordexp_t size_t we_wordc
|
element wordexp_t size_t we_wordc
|
||||||
|
Reference in New Issue
Block a user