Samsung Internal API reference  2.0
limits.h File Reference

Implementation-defined constants. More...

Go to the source code of this file.

Macros

#define CHAR_BIT   8
 
#define SCHAR_MAX   (127)
 
#define SCHAR_MIN   (-128)
 
#define UCHAR_MAX   (255)
 
#define USHRT_MAX   (0xFFFFU)
 
#define SHRT_MAX   (32767)
 
#define SHRT_MIN   (-32768)
 
#define INT_MAX   ((int)(~0U>>1))
 
#define INT_MIN   (-INT_MAX - 1)
 
#define LONG_MAX   ((long)(~0UL>>1))
 
#define LONG_MIN   (-LONG_MAX - 1)
 
#define UINT_MAX   (~0U)
 
#define ULONG_MAX   (~0UL)
 
#define ULLONG_MAX   (~0ULL)
 
#define LLONG_MAX   ((long long)(~0ULL>>1))
 
#define LLONG_MIN   ((long long)(-LLONG_MAX - 1))
 
#define _POSIX_THREAD_KEYS_MAX   12
 
#define PTHREAD_KEYS_MAX   _POSIX_THREAD_KEYS_MAX
 
#define _POSIX_THREAD_THREADS_MAX   64
 
#define _POSIX_THREADS   1
 

Detailed Description

Implementation-defined constants.

Header shall define macros and symbolic constants for various limits. Different categories of limits are described below, representing various limits on resources that the implementation imposes on applications. All macros and symbolic constants defined in this header shall be suitable for use in #if preprocessing directives.