Lines Matching +full:max +full:- +full:by +full:- +full:define
16 * fields enclosed by brackets "[]" replaced with your own identifying
36 #define _LIMITS_H
44 * Include fixed width type limits as proposed by the ISO/JTC1/SC22/WG14 C
46 * ISO/IEC 9899:1990 Programming language - C. These are not currently
47 * required by any standard but constitute a useful, general purpose set
63 #define SSIZE_MAX LONG_MAX /* max value of an "ssize_t" */
67 * NCARGS - space for other stuff on initial stack
70 #define _ARG_MAX32 1048320 /* max length of args to exec 32-bit program */
71 #define _ARG_MAX64 2096640 /* max length of args to exec 64-bit program */
73 #define ARG_MAX _ARG_MAX64 /* max length of arguments to exec */
75 #define ARG_MAX _ARG_MAX32 /* max length of arguments to exec */
84 #define MAX_CANON 256 /* max bytes in line for canonical processing */
88 #define MAX_INPUT 512 /* max size of a char input buffer */
91 #define NGROUPS_MAX 16 /* max number of groups for a user */
94 #define PATH_MAX 1024 /* max # of characters in a path name */
97 #define SYMLINK_MAX 1024 /* max # of characters a symlink can contain */
99 #define PIPE_BUF 5120 /* max # bytes atomic in write to a pipe */
102 #define TMP_MAX 17576 /* 26 * 26 * 26 */
106 * POSIX conformant definitions - An implementation may define
110 #define _POSIX_AIO_LISTIO_MAX 2
111 #define _POSIX_AIO_MAX 1
112 #define _POSIX_ARG_MAX 4096
114 #define _POSIX_CHILD_MAX 25
116 #define _POSIX_CHILD_MAX 6 /* POSIX.1-1990 default */
118 #define _POSIX_CLOCKRES_MIN 20000000
119 #define _POSIX_DELAYTIMER_MAX 32
120 #define _POSIX_LINK_MAX 8
121 #define _POSIX_MAX_CANON 255
122 #define _POSIX_MAX_INPUT 255
123 #define _POSIX_MQ_OPEN_MAX 8
124 #define _POSIX_MQ_PRIO_MAX 32
125 #define _POSIX_NAME_MAX 14
127 #define _POSIX_NGROUPS_MAX 8
128 #define _POSIX_OPEN_MAX 20
129 #define _POSIX_PATH_MAX 256
130 #else /* POSIX.1-1990 defaults */
131 #define _POSIX_NGROUPS_MAX 0
132 #define _POSIX_OPEN_MAX 16
133 #define _POSIX_PATH_MAX 255
135 #define _POSIX_PIPE_BUF 512
136 #define _POSIX_RTSIG_MAX 8
137 #define _POSIX_SEM_NSEMS_MAX 256
138 #define _POSIX_SEM_VALUE_MAX 32767
139 #define _POSIX_SIGQUEUE_MAX 32
140 #define _POSIX_SSIZE_MAX 32767
141 #define _POSIX_STREAM_MAX 8
142 #define _POSIX_TIMER_MAX 32
144 #define _POSIX_TZNAME_MAX 6
146 #define _POSIX_TZNAME_MAX 3 /* POSIX.1-1990 default */
149 #define _POSIX_LOGIN_NAME_MAX 9
150 #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
151 #define _POSIX_THREAD_KEYS_MAX 128
152 #define _POSIX_THREAD_THREADS_MAX 64
153 #define _POSIX_TTY_NAME_MAX 9
155 #define _POSIX_HOST_NAME_MAX 255
156 #define _POSIX_RE_DUP_MAX 255
157 #define _POSIX_SYMLINK_MAX 255
158 #define _POSIX_SYMLOOP_MAX 8
161 * POSIX.2 and XPG4-XSH4 conformant definitions
164 #define _POSIX2_BC_BASE_MAX 99
165 #define _POSIX2_BC_DIM_MAX 2048
166 #define _POSIX2_BC_SCALE_MAX 99
167 #define _POSIX2_BC_STRING_MAX 1000
168 #define _POSIX2_COLL_WEIGHTS_MAX 2
169 #define _POSIX2_EXPR_NEST_MAX 32
170 #define _POSIX2_LINE_MAX 2048
171 #define _POSIX2_RE_DUP_MAX 255
173 #define _POSIX2_CHARCLASS_NAME_MAX 14
175 #define BC_BASE_MAX _POSIX2_BC_BASE_MAX
176 #define BC_DIM_MAX _POSIX2_BC_DIM_MAX
177 #define BC_SCALE_MAX _POSIX2_BC_SCALE_MAX
178 #define BC_STRING_MAX _POSIX2_BC_STRING_MAX
179 #define COLL_WEIGHTS_MAX 10
180 #define EXPR_NEST_MAX _POSIX2_EXPR_NEST_MAX
181 #define LINE_MAX _POSIX2_LINE_MAX
183 #define RE_DUP_MAX _POSIX2_RE_DUP_MAX
185 #define RE_DUP_MAX _POSIX_RE_DUP_MAX
197 #define _PASS_MAX_XPG 8 /* old standards PASS_MAX */
198 #define _PASS_MAX 256 /* modern Solaris PASS_MAX */
201 #define PASS_MAX _PASS_MAX_XPG /* max # of characters in a password */
203 #define PASS_MAX _PASS_MAX /* max # of characters in a password */
206 #define CHARCLASS_NAME_MAX _POSIX2_CHARCLASS_NAME_MAX
208 #define NL_ARGMAX 9 /* max value of "digit" in calls to the */
210 #define NL_LANGMAX 14 /* max # of bytes in a LANG name */
211 #define NL_MSGMAX 32767 /* max message number */
212 #define NL_NMAX 1 /* max # bytes in N-to-1 mapping characters */
213 #define NL_SETMAX 255 /* max set number */
214 #define NL_TEXTMAX 2048 /* max set number */
215 #define NZERO 20 /* default process priority */
217 #define WORD_BIT 32 /* # of bits in a "word" or "int" */
219 #define LONG_BIT 64 /* # of bits in a "long" */
221 #define LONG_BIT 32 /* # of bits in a "long" */
226 #define DBL_DIG 15 /* digits of precision of a "double" */
227 #define DBL_MAX 1.7976931348623157081452E+308 /* max decimal value */
229 #define FLT_DIG 6 /* digits of precision of a "float" */
230 #define FLT_MAX 3.4028234663852885981170E+38F /* max decimal value */
236 #define DBL_MIN 2.2250738585072013830903E-308 /* min decimal value */
238 #define FLT_MIN 1.1754943508222875079688E-38F /* min decimal value */
244 #define _XOPEN_IOV_MAX 16 /* max # iovec/process with readv()/writev() */
245 #define _XOPEN_NAME_MAX 255 /* max # bytes in filename excluding null */
246 #define _XOPEN_PATH_MAX 1024 /* max # bytes in a pathname */
251 #define FCHR_MAX 1048576 /* max size of a file in bytes */
252 #define PID_MAX 999999 /* max value for a process ID */
255 * POSIX 1003.1a, section 2.9.5, table 2-5 contains [NAME_MAX] and the
258 * A definition of one of the values from Table 2-5 shall be omitted from the
262 * a specific pathname shall be provided by the pathconf() (5.7.1) function.
265 * and/or a network should not include this define, regardless of protection
266 * by the _POSIX_SOURCE and _POSIX_C_SOURCE flags. We chose to ignore that
270 #define NAME_MAX 255
272 #define CHILD_MAX 25 /* max # of processes per user id */
274 #define OPEN_MAX 256 /* max # of files a process can have open */
277 #define PIPE_MAX 5120 /* max # bytes written to a pipe in a write */
279 #define STD_BLK 1024 /* # bytes in a physical I/O block */
280 #define UID_MAX 2147483647 /* max value for a user or group ID */
281 #define USI_MAX 4294967295 /* max decimal value of an "unsigned" */
282 #define SYSPID_MAX 1 /* max pid of system processes */
285 #define SYS_NMLN 257 /* 4.0 size of utsname elements */
291 #define _CLOCK_T
296 #define CLK_TCK ((clock_t)_sysconf(3)) /* 3 is _SC_CLK_TCK */
301 #define LOGNAME_MAX 8 /* max # of characters in a login name */
303 #define LOGNAME_MAX 32 /* max # of characters in a login name */
306 #define LOGIN_NAME_MAX (LOGNAME_MAX + 1) /* max buffer size */
307 #define LOGNAME_MAX_TRAD 8 /* traditional length */
308 #define LOGIN_NAME_MAX_TRAD (LOGNAME_MAX_TRAD + 1) /* and size */
310 #define TTYNAME_MAX 128 /* max # of characters in a tty name */
318 #define _SIZE_T
328 #define PTHREAD_STACK_MIN ((size_t)_sysconf(_SC_THREAD_STACK_MIN))
330 #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS
331 #define PTHREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX
332 #define PTHREAD_THREADS_MAX _POSIX_THREAD_THREADS_MAX