2 meinOS - A unix-like x86 microkernel operating system
3 Copyright (C) 2008 Janosch Gräf <janosch.graef@gmx.net>
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
15 You should have received a copy of the GNU Lesser General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
23 #define ATEXIT_MAX (-1)
24 #define LOGIN_NAME_MAX 256
25 #define HOST_NAME_MAX 64
26 #define LOGIN_NAME_MAX 256
32 #define SCHAR_MIN (-128)
35 #define CHAR_MAX SCHAR_MAX
36 #define CHAR_MIN SCHAR_MIN
39 #define SHRT_MIN (-32768)
40 #define SHRT_MAX 32767
41 #define USHRT_MAX 65535
43 #define LONG_MAX 0x7FFFFFFF
44 #define LONG_MIN (-0x80000000)
46 #define INT_MAX 0x7FFFFFFF
47 #define INT_MIN (-0x80000000)
49 #define ULONG_MAX 0xFFFFFFFF
50 #define UINT_MAX 0xFFFFFFFF
53 #define PAGE_SIZE PAGESIZE
56 #define FILENAME_MAX PATH_MAX
57 #define FOPEN_MAX (-1)