Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / hpc / stand / include / machine / limits.h
blob56bd48d5ae60544230596b6d09de5de3f1d75b97
1 /* $NetBSD$ */
3 /* Windows CE architecture */
5 #ifndef _MACHINE_LIMITS_H_
6 #define _MACHINE_LIMITS_H_
8 #define CHAR_BIT 8 /* number of bits in a char */
9 #define MB_LEN_MAX 32 /* Allow 31 bit UTF2 */
11 #define SCHAR_MAX 127 /* min value for a signed char */
12 #define SCHAR_MIN (-128) /* max value for a signed char */
14 #define UCHAR_MAX 255 /* max value for an unsigned char */
15 #define CHAR_MAX 127 /* max value for a char */
16 #define CHAR_MIN (-128) /* min value for a char */
18 #define USHRT_MAX 65535 /* max value for an unsigned short */
19 #define SHRT_MAX 32767 /* max value for a short */
20 #define SHRT_MIN (-32768) /* min value for a short */
22 #define UINT_MAX 0xffffffff /* max value for an unsigned int */
23 #define INT_MAX 2147483647 /* max value for an int */
24 #define INT_MIN (-2147483647-1) /* min value for an int */
26 #define ULONG_MAX 0xffffffff /* max value for an unsigned long */
27 #define LONG_MAX 2147483647 /* max value for a long */
28 #define LONG_MIN (-2147483647-1) /* min value for a long */
30 #endif // _MACHINE_LIMITS_H_