|
|
1.1 root 1: /* Number of bits in a `char'. */
2: #define CHAR_BIT 8
3:
4: /* No multibyte characters supported yet. */
5: #define MB_LEN_MAX 1
6:
7: /* Minimum and maximum values a `signed char' can hold. */
1.1.1.3 root 8: #define SCHAR_MIN (-128)
1.1 root 9: #define SCHAR_MAX 127
10:
11: /* Maximum value an `unsigned char' can hold. (Minimum is 0). */
1.1.1.4 ! root 12: #define UCHAR_MAX 255
1.1 root 13:
14: /* Minimum and maximum values a `char' can hold. */
15: #ifdef __CHAR_UNSIGNED__
16: #define CHAR_MIN 0
1.1.1.4 ! root 17: #define CHAR_MAX 255
1.1 root 18: #else
1.1.1.3 root 19: #define CHAR_MIN (-128)
1.1 root 20: #define CHAR_MAX 127
21: #endif
22:
23: /* Minimum and maximum values a `signed short int' can hold. */
1.1.1.3 root 24: #define SHRT_MIN (-32768)
1.1 root 25: #define SHRT_MAX 32767
26:
27: /* Maximum value an `unsigned short int' can hold. (Minimum is 0). */
1.1.1.4 ! root 28: #define USHRT_MAX 65535
1.1 root 29:
30: /* Minimum and maximum values a `signed int' can hold. */
1.1.1.3 root 31: #define INT_MIN (-INT_MAX-1)
1.1 root 32: #define INT_MAX 2147483647
33:
34: /* Maximum value an `unsigned int' can hold. (Minimum is 0). */
35: #define UINT_MAX 4294967295U
36:
37: /* Minimum and maximum values a `signed long int' can hold.
38: (Same as `int'). */
1.1.1.2 root 39: #define LONG_MIN (-LONG_MAX-1)
1.1.1.4 ! root 40: #define LONG_MAX 2147483647L
1.1 root 41:
42: /* Maximum value an `unsigned long int' can hold. (Minimum is 0). */
1.1.1.4 ! root 43: #define ULONG_MAX 4294967295UL
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.