1 macro-int-constant CHAR_BIT >= 8
2 macro-int-constant SCHAR_MIN {promoted:signed char} <= -127
3 macro-int-constant SCHAR_MAX {promoted:signed char} >= 127
4 macro-int-constant UCHAR_MAX {promoted:unsigned char} >= 255
5 #ifdef __CHAR_UNSIGNED__
6 macro-int-constant CHAR_MIN {promoted:char} == 0
7 macro-int-constant CHAR_MAX {promoted:char} == UCHAR_MAX
9 macro-int-constant CHAR_MIN {promoted:char} == SCHAR_MIN
10 macro-int-constant CHAR_MAX {promoted:char} == SCHAR_MAX
12 macro-int-constant MB_LEN_MAX >= 1
13 macro-int-constant SHRT_MIN {promoted:short int} <= -32767
14 macro-int-constant SHRT_MAX {promoted:short int} >= 32767
15 macro-int-constant USHRT_MAX {promoted:unsigned short int} >= 65535
16 // The ranges for int and unsigned int are from POSIX.
17 macro-int-constant INT_MAX {int} >= 2147483647
18 macro-int-constant INT_MIN {int} <= -2147483647
19 macro-int-constant UINT_MAX {unsigned int} >= 4294967295U
20 macro-int-constant LONG_MAX {long int} >= 2147483647L
21 macro-int-constant LONG_MIN {long int} <= -2147483647L
22 macro-int-constant ULONG_MAX {unsigned long int} >= 4294967295UL
23 #if defined ISO99 || defined ISO11 || defined XOPEN2K8 || defined POSIX2008
24 macro-int-constant LLONG_MIN {long long int} <= -9223372036854775807ll
25 macro-int-constant LLONG_MAX {long long int} >= 9223372036854775807ll
26 macro-int-constant ULLONG_MAX {unsigned long long int} >= 18446744073709551615ull
29 #if !defined ISO && !defined ISO99 && !defined ISO11
30 // if these values exist, we should check the minimal value
33 allow AIO_PRIO_DELTA_MAX
35 #if !defined POSIX && !defined XPG3
40 #if !defined POSIX && !defined POSIX2008 && !defined XPG3
48 #if !defined POSIX && !defined POSIX2008
51 allow PTHREAD_DESTRUCTOR_ITERATIONS
52 allow PTHREAD_KEYS_MAX
53 allow PTHREAD_STACK_MIN
54 allow PTHREAD_THREADS_MAX
59 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
63 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
70 #if !defined POSIX && !defined XPG3 && !defined XPG4
79 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
80 allow POSIX_ALLOC_SIZE_MIN
81 allow POSIX_REC_INCR_XFER_SIZE
82 allow POSIX_REC_MAX_XFER_SIZE
83 allow POSIX_REC_XFER_ALIGN
87 macro-constant BC_BASE_MAX >= _POSIX2_BC_BASE_MAX
88 macro-constant BC_DIM_MAX >= _POSIX2_BC_DIM_MAX
89 macro-constant BC_SCALE_MAX >= _POSIX2_BC_SCALE_MAX
90 macro-constant BC_STRING_MAX >= _POSIX2_BC_STRING_MAX
91 #if !defined POSIX && !defined XPG3 && !defined XPG4
92 macro CHARCLASS_NAME_MAX
94 macro-constant COLL_WEIGHTS_MAX >= _POSIX2_COLL_WEIGHTS_MAX
95 macro-constant EXPR_NEST_MAX >= _POSIX2_EXPR_NEST_MAX
96 macro-constant LINE_MAX >= _POSIX2_LINE_MAX
97 constant NGROUPS_MAX >= 8
98 macro-constant RE_DUP_MAX >= _POSIX2_RE_DUP_MAX
100 constant _POSIX_CLOCKRES_MIN == 20000000
102 constant _POSIX_AIO_LISTIO_MAX == 2
103 constant _POSIX_AIO_MAX == 1
104 constant _POSIX_ARG_MAX == 4096
105 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
106 constant _POSIX_CHILD_MAX == 25
108 constant _POSIX_CHILD_MAX == 6
110 constant _POSIX_DELAYTIMER_MAX == 32
111 constant _POSIX_LINK_MAX == 8
112 constant _POSIX_LOGIN_NAME_MAX == 9
113 constant _POSIX_MAX_CANON == 255
114 constant _POSIX_MAX_INPUT == 255
115 constant _POSIX_MQ_OPEN_MAX == 8
116 constant _POSIX_MQ_PRIO_MAX == 32
117 constant _POSIX_NAME_MAX == 14
118 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
119 constant _POSIX_NGROUPS_MAX == 8
121 constant _POSIX_NGROUPS_MAX == 0
123 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
124 constant _POSIX_OPEN_MAX == 20
126 constant _POSIX_OPEN_MAX == 16
128 // Value was 255, corrected to 256 following an interpretation request.
129 constant _POSIX_PATH_MAX == 256
130 constant _POSIX_PIPE_BUF == 512
131 constant _POSIX_RTSIG_MAX == 8
132 constant _POSIX_SEM_NSEMS_MAX == 256
133 constant _POSIX_SEM_VALUE_MAX == 32767
134 constant _POSIX_SIGQUEUE_MAX == 32
135 constant _POSIX_SSIZE_MAX == 32767
136 constant _POSIX_STREAM_MAX == 8
137 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
138 optional-constant _POSIX_SS_REPL_MAX == 4
139 optional-constant _POSIX_SYMLINK_MAX == 255
140 optional-constant _POSIX_SYMLOOP_MAX == 8
142 constant _POSIX_THREAD_DESTRUCTOR_ITERATIONS == 4
143 constant _POSIX_THREAD_KEYS_MAX == 128
144 constant _POSIX_THREAD_THREADS_MAX == 64
145 constant _POSIX_TIMER_MAX == 32
146 constant _POSIX_TTY_NAME_MAX == 9
147 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
148 constant _POSIX_TZNAME_MAX == 6
150 constant _POSIX_TZNAME_MAX == 3
152 macro-constant _POSIX2_BC_BASE_MAX == 99
153 macro-constant _POSIX2_BC_DIM_MAX == 2048
154 macro-constant _POSIX2_BC_SCALE_MAX == 99
155 macro-constant _POSIX2_BC_STRING_MAX == 1000
156 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98
157 constant _POSIX2_CHARCLASS_NAME_MAX == 14
159 macro-constant _POSIX2_COLL_WEIGHTS_MAX == 2
160 macro-constant _POSIX2_EXPR_NEST_MAX == 32
161 macro-constant _POSIX2_LINE_MAX == 2048
162 macro-constant _POSIX2_RE_DUP_MAX == 255
163 #if !defined POSIX && !defined POSIX2008 && !defined XPG3
164 optional-constant _XOPEN_IOV_MAX == 16
167 #if !defined POSIX && !defined POSIX2008
168 constant WORD_BIT >= 16
169 constant LONG_BIT >= 32
174 optional-constant CHARCLASS_NAME_MAX >= 14
177 optional-constant NL_ARGMAX >= 9
178 # if !defined POSIX2008
179 optional-constant NL_LANGMAX >= 14
181 optional-constant NL_MSGMAX >= 32767
182 # if !defined XOPEN2K8 && !defined POSIX2008
183 optional-constant NL_NMAX
185 optional-constant NL_SETMAX >= 255
186 optional-constant NL_TEXTMAX
187 # if !defined POSIX2008
188 optional-constant NZERO >= 20
191 #if defined XPG3 || defined XPG4 || defined UNIX98
192 optional-constant TMP_MAX >= 10000
196 #if !defined POSIX && !defined XPG3 && !defined XPG4 && !defined UNIX98