limits.h (5a0884b3289f9aa16dcc41d5f2fbb0335a400569) limits.h (54574e2ab2c3caa59fc2171e7590112b6de1df1e)
1/*-
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 23 unchanged lines hidden (view full) ---

32
33#ifndef _LIMITS_H_
34#define _LIMITS_H_
35
36#include <sys/cdefs.h>
37
38#if __POSIX_VISIBLE
39#define _POSIX_ARG_MAX 4096
1/*-
2 * Copyright (c) 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 23 unchanged lines hidden (view full) ---

32
33#ifndef _LIMITS_H_
34#define _LIMITS_H_
35
36#include <sys/cdefs.h>
37
38#if __POSIX_VISIBLE
39#define _POSIX_ARG_MAX 4096
40#define _POSIX_CHILD_MAX 25
41#define _POSIX_LINK_MAX 8
42#define _POSIX_MAX_CANON 255
43#define _POSIX_MAX_INPUT 255
44#define _POSIX_NAME_MAX 14
40#define _POSIX_LINK_MAX 8
41#define _POSIX_MAX_CANON 255
42#define _POSIX_MAX_INPUT 255
43#define _POSIX_NAME_MAX 14
45#define _POSIX_NGROUPS_MAX 8
46#define _POSIX_OPEN_MAX 20
47#define _POSIX_PATH_MAX 256
48#define _POSIX_PIPE_BUF 512
49#define _POSIX_SSIZE_MAX 32767
50#define _POSIX_STREAM_MAX 8
44#define _POSIX_PIPE_BUF 512
45#define _POSIX_SSIZE_MAX 32767
46#define _POSIX_STREAM_MAX 8
47
48#if __POSIX_VISIBLE >= 200112
49#define _POSIX_CHILD_MAX 25
50#define _POSIX_NGROUPS_MAX 8
51#define _POSIX_OPEN_MAX 20
52#define _POSIX_PATH_MAX 256
51#define _POSIX_TZNAME_MAX 6
53#define _POSIX_TZNAME_MAX 6
54#else
55#define _POSIX_CHILD_MAX 6
56#define _POSIX_NGROUPS_MAX 0
57#define _POSIX_OPEN_MAX 16
58#define _POSIX_PATH_MAX 255
59#define _POSIX_TZNAME_MAX 3
60#endif
52
53#define BC_BASE_MAX 99 /* max ibase/obase values in bc(1) */
54#define BC_DIM_MAX 2048 /* max array elements in bc(1) */
55#define BC_SCALE_MAX 99 /* max scale value in bc(1) */
56#define BC_STRING_MAX 1000 /* max const string length in bc(1) */
57#define COLL_WEIGHTS_MAX 0 /* max weights for order keyword */
58#define EXPR_NEST_MAX 32 /* max expressions nested in expr(1) */
59#define LINE_MAX 2048 /* max bytes in an input line */

--- 15 unchanged lines hidden (view full) ---

75#define _POSIX_DELAYTIMER_MAX 32
76#define _POSIX_MQ_OPEN_MAX 8
77#define _POSIX_MQ_PRIO_MAX 32
78#define _POSIX_RTSIG_MAX 8
79#define _POSIX_SEM_NSEMS_MAX 256
80#define _POSIX_SEM_VALUE_MAX 32767
81#define _POSIX_SIGQUEUE_MAX 32
82#define _POSIX_TIMER_MAX 32
61
62#define BC_BASE_MAX 99 /* max ibase/obase values in bc(1) */
63#define BC_DIM_MAX 2048 /* max array elements in bc(1) */
64#define BC_SCALE_MAX 99 /* max scale value in bc(1) */
65#define BC_STRING_MAX 1000 /* max const string length in bc(1) */
66#define COLL_WEIGHTS_MAX 0 /* max weights for order keyword */
67#define EXPR_NEST_MAX 32 /* max expressions nested in expr(1) */
68#define LINE_MAX 2048 /* max bytes in an input line */

--- 15 unchanged lines hidden (view full) ---

84#define _POSIX_DELAYTIMER_MAX 32
85#define _POSIX_MQ_OPEN_MAX 8
86#define _POSIX_MQ_PRIO_MAX 32
87#define _POSIX_RTSIG_MAX 8
88#define _POSIX_SEM_NSEMS_MAX 256
89#define _POSIX_SEM_VALUE_MAX 32767
90#define _POSIX_SIGQUEUE_MAX 32
91#define _POSIX_TIMER_MAX 32
92
93#define _POSIX_CLOCKRES_MIN 20000000
83#endif
84
85#if __POSIX_VISIBLE >= 199506
86#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
87#define _POSIX_THREAD_KEYS_MAX 128
88#define _POSIX_THREAD_THREADS_MAX 64
89#endif
90

--- 40 unchanged lines hidden ---
94#endif
95
96#if __POSIX_VISIBLE >= 199506
97#define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4
98#define _POSIX_THREAD_KEYS_MAX 128
99#define _POSIX_THREAD_THREADS_MAX 64
100#endif
101

--- 40 unchanged lines hidden ---