meta: move photon/libc to root
This commit is contained in:
37
libc/include/limits.h
Normal file
37
libc/include/limits.h
Normal file
@@ -0,0 +1,37 @@
|
||||
#ifndef LIMITS_H_
|
||||
#define LIMITS_H_
|
||||
|
||||
#include <sys/_fconst.h>
|
||||
|
||||
#define CHAR_BIT 8
|
||||
#define SCHAR_MIN -127
|
||||
#define SCHAR_MAX 127
|
||||
#define UCHAR_MAX 255
|
||||
#define CHAR_MIN SCHAR_MIN
|
||||
#define CHAR_MAX SCHAR_MAX
|
||||
#define MB_LEN_MAX 1
|
||||
#define SHRT_MIN -32767
|
||||
#define SHRT_MAX 32767
|
||||
#define USHRT_MAX 65535
|
||||
#define INT_MIN -2147483648
|
||||
#define INT_MAX 2147483648
|
||||
#define UINT_MAX 4294967295
|
||||
#define LONG_MIN -2147483647
|
||||
#define LONG_MAX 2147483647
|
||||
#define ULONG_MAX 4294967295
|
||||
#define LLONG_MIN -9223372036854775807
|
||||
#define LLONG_MAX 9223372036854775807
|
||||
#define ULLONG_MAX 18446744073709551615
|
||||
#define INT8_MIN SCHAR_MIN
|
||||
#define INT8_MAX SCHAR_MAX
|
||||
#define INT16_MIN SHRT_MIN
|
||||
#define INT16_MAX SHRT_MAX
|
||||
#define INT32_MIN INT_MIN
|
||||
#define INT32_MAX INT_MAX
|
||||
#define INT64_MIN LLONG_MIN
|
||||
#define INT64_MAX LLONG_MAX
|
||||
#define UINT64_MAX ULLONG_MAX
|
||||
|
||||
#define NAME_MAX __FILENAME_MAX
|
||||
|
||||
#endif /* LIMITS_H_ */
|
||||
Reference in New Issue
Block a user