First try in keyboard driver
[incOS.git] / programs / include / limits.h
blob24f42485a034f5c8cd6d1153ae41111b9c11cfcd
1 /*
2 Copyright (C) 2008 Mathias Gottschlag
4 Permission is hereby granted, free of charge, to any person obtaining a copy of
5 this software and associated documentation files (the "Software"), to deal in the
6 Software without restriction, including without limitation the rights to use,
7 copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the
8 Software, and to permit persons to whom the Software is furnished to do so,
9 subject to the following conditions:
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
15 INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
16 PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
17 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
18 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
19 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 #ifndef LIMITS_H_INCLUDED
24 #define LIMITS_H_INCLUDED
26 #define CHAR_BIT 8
27 #define CHAR_MAX SCHAR_MAX
28 #define CHAR_MIN SCHAR_MIN
29 #define INT_MAX 2147483647
30 #define LONG_BIT 32
31 #define LONG_MAX 2147483647
32 #define MB_LEN_MAX 1
33 #define SCHAR_MAX 127
34 #define SHRT_MAX 32767
35 #define SSIZE_MAX 32767
36 #define UCHAR_MAX 255
37 #define UINT_MAX 4294967295
38 #define ULONG_MAX 4294967295
39 #define USHRT_MAX 65535
40 #define WORD_BIT 32
41 #define INT_MIN -2147483647
42 #define LONG_MIN -2147483647
43 #define SCHAR_MIN -128
44 #define SHRT_MIN -32767
45 #define LLONG_MIN -9223372036854775807
46 #define LLONG_MAX +9223372036854775807
47 #define ULLONG_MAX 18446744073709551615
49 #endif