/* Minimal limits.h for the ring-3 libc (i386). */ #ifndef LIBC_LIMITS_H #define LIBC_LIMITS_H #define CHAR_BIT 8 #define SCHAR_MIN (-128) #define SCHAR_MAX 127 #define UCHAR_MAX 255 #define CHAR_MIN SCHAR_MIN #define CHAR_MAX SCHAR_MAX #define SHRT_MIN (-32768) #define SHRT_MAX 32767 #define USHRT_MAX 65535 #define INT_MIN (-2147483647 - 1) #define INT_MAX 2147483647 #define UINT_MAX 4294967295u #define LONG_MIN (-2147483647L - 1L) #define LONG_MAX 2147483647L #define ULONG_MAX 4294967295uL #define LLONG_MIN (-9223372036854775807LL - 1LL) #define LLONG_MAX 9223372036854775807LL #define ULLONG_MAX 18446744073709551615ULL #define PATH_MAX 64 #define NAME_MAX 63 #define OPEN_MAX 32 #endif