|
|
1.1 root 1: /*
2: * AT&T Bell Laboratories
3: * C language implementation integral type sizes
4: * : : generated by mkhdr and genhdr : :
5: */
6:
7: #ifndef __LIMITS_H__
8:
9: #include <lcllimits.h>
10:
11: #ifndef __LIMITS_H__
12: #define __LIMITS_H__
13: #endif
14:
15: #define CHAR_BIT 8
16: #if __STDC__
17: #define UCHAR_MAX 255U
18: #else
19: #define UCHAR_MAX 255
20: #endif
21: #define SCHAR_MIN -128
22: #define SCHAR_MAX 127
23: #define CHAR_MIN SCHAR_MIN
24: #define CHAR_MAX SCHAR_MAX
25: #if __STDC__
26: #define USHRT_MAX 65535U
27: #else
28: #define USHRT_MAX 65535
29: #endif
30: #define SHRT_MIN -32768
31: #define SHRT_MAX 32767
32: #if __STDC__
33: #define UINT_MAX 4294967295U
34: #else
35: #define UINT_MAX 4294967295
36: #endif
37: #define INT_MIN -2147483648
38: #define INT_MAX 2147483647
39: #define ULONG_MAX UINT_MAX
40: #define LONG_MIN INT_MIN
41: #define LONG_MAX INT_MAX
42:
43: /*
44: * system implementation limits
45: */
46:
47: #define ARG_MAX 16384
48: #define MAX_CANON 256
49: #define LINK_MAX 32767
50: #define NGROUPS_MAX 32
51: #define PATH_MAX 1024
52: #define OPEN_MAX 127
53: #define OPEN_MAX_CEIL OPEN_MAX
54:
55: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.