vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

limits.h (634B)


      1 #ifndef _LIMITS_H
      2 #define _LIMITS_H
      3 
      4 #define CHAR_BIT	8
      5 #define CHAR_MIN	(-128)
      6 #define CHAR_MAX	(127)
      7 #define SCHAR_MAX	(127)
      8 #define UCHAR_MAX	(255)
      9 
     10 #define SHRT_MIN	(-32768)
     11 #define SHRT_MAX	(32767)
     12 #define USHRT_MAX	(65535)
     13 
     14 #define WORD_BIT	32
     15 #define INT_MIN		(-2147483648)
     16 #define INT_MAX		(2147483647)
     17 #define UINT_MAX	(4294967295)
     18 
     19 #define LONG_BIT	32
     20 #define LONG_MIN	(-2147483648)
     21 #define LONG_MAX	(2147483647)
     22 #define ULONG_MAX	(4294967295)
     23 
     24 #define LLONG_MIN	(-9223372036854775808ll)
     25 #define LLONG_MAX	(9223372036854775807ll)
     26 #define ULLONG_MAX	(18446744073709551615ull)
     27 
     28 #define SSIZE_MAX	LONG_MAX
     29 
     30 #endif	// _LIMITS_H