1 // ----------------------------------------------------------------------------
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7 // Sizes of integer types
8 // ----------------------------------------------------------------------------
11 #define __LIMITS_H __LIMITS_H
13 // Limits of type 'char'
14 #define CHAR_BIT // TODO
15 #define CHAR_MAX // TODO
16 #define CHAR_MIN // TODO
17 #define SCHAR_MAX // TODO
18 #define SCHAR_MIN // TODO
19 #define UCHAR_MAX // TODO
21 // Multibyte characters
22 #define MB_LEN_MAX // TODO
24 // Limits of type 'short int'
25 #define SHRT_MAX // TODO
26 #define SHRT_MIN // TODO
27 #define USHRT_MAX // TODO
29 // Limits of type 'int'
30 #define INT_MAX // TODO
31 #define INT_MIN // TODO
32 #define UINT_MAX // TODO
34 // Limits of type 'long int'
35 #define LONG_MAX // TODO
36 #define LONG_MIN // TODO
37 #define ULONG_MAX // TODO
39 // Limits of type 'long long int'
40 #define LLONG_MAX // TODO
41 #define LLONG_MIN // TODO
42 #define ULLONG_MAX // TODO