| Samsung Internal API reference 2.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

limits.h
Go to the documentation of this file.
1
16 #ifndef __LIMITS_H__
17 #define __LIMITS_H__
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
27 #define CHAR_BIT 8
28
34 #define SCHAR_MAX (127)
35
40 #define SCHAR_MIN (-128)
41
47 #define UCHAR_MAX (255)
48
53 #define USHRT_MAX (0xFFFFU)
54
60 #define SHRT_MAX (32767)
61
66 #define SHRT_MIN (-32768)
67
73 #define INT_MAX ((int)(~0U>>1))
74
79 #define INT_MIN (-INT_MAX - 1)
80
86 #define LONG_MAX ((long)(~0UL>>1))
87
92 #define LONG_MIN (-LONG_MAX - 1)
93
99 #define UINT_MAX (~0U)
100
105 #define ULONG_MAX (~0UL)
106
111 #define ULLONG_MAX (~0ULL)
112
118 #define LLONG_MAX ((long long)(~0ULL>>1))
119
124 #define LLONG_MIN ((long long)(-LLONG_MAX - 1))
125
126 /* Number of keys supported by pthread_key */
127
135 #define _POSIX_THREAD_KEYS_MAX 12
136
141 #define PTHREAD_KEYS_MAX _POSIX_THREAD_KEYS_MAX
142
147 #define _POSIX_THREAD_THREADS_MAX 64
148
153 #define _POSIX_THREADS 1
154
155 #ifdef __cplusplus
156 }
157 #endif
158
159 #endif //__LIMITS_H__
160