Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __VDSO_LIMITS_H
0003 #define __VDSO_LIMITS_H
0004 
0005 #define USHRT_MAX   ((unsigned short)~0U)
0006 #define SHRT_MAX    ((short)(USHRT_MAX >> 1))
0007 #define SHRT_MIN    ((short)(-SHRT_MAX - 1))
0008 #define INT_MAX     ((int)(~0U >> 1))
0009 #define INT_MIN     (-INT_MAX - 1)
0010 #define UINT_MAX    (~0U)
0011 #define LONG_MAX    ((long)(~0UL >> 1))
0012 #define LONG_MIN    (-LONG_MAX - 1)
0013 #define ULONG_MAX   (~0UL)
0014 #define LLONG_MAX   ((long long)(~0ULL >> 1))
0015 #define LLONG_MIN   (-LLONG_MAX - 1)
0016 #define ULLONG_MAX  (~0ULL)
0017 #define UINTPTR_MAX ULONG_MAX
0018 
0019 #endif /* __VDSO_LIMITS_H */