commited some changes and added README
[meinos.git] / include / errno.h
blobc428b1e9bbd3eb9e67ebbdace670e99f2ff4265e
1 /*
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/>.
19 #ifndef _ERRNO_H_
20 #define _ERRNO_H_
22 #define E2BIG 1
23 #define EACCES 2
24 #define EADDRINUSE 3
25 #define EADDRNOTAVAIL 4
26 #define EAFNOSUPPORT 5
27 #define EAGAIN 6
28 #define EALREADY 7
29 #define EBADF 8
30 #define EBADMSG 9
31 #define EBUSY 10
32 #define ECANCELED 11
33 #define ECHILD 12
34 #define ECONNABORTED 13
35 #define ECONNREFUSED 14
36 #define ECONNRESET 15
37 #define EDEADLK 16
38 #define EDESTADDRREQ 17
39 #define EDOM 18
40 #define EDQUOT 19
41 #define EEXIST 20
42 #define EFAULT 21
43 #define EFBIG 22
44 #define EHOSTUNREACH 23
45 #define EIDRM 24
46 #define EILSEQ 25
47 #define EINPROGRESS 26
48 #define EINTR 27
49 #define EINVAL 28
50 #define EIO 29
51 #define EISCONN 30
52 #define EISDIR 31
53 #define ELOOP 32
54 #define EMFILE 33
55 #define EMLINK 34
56 #define EMSGSIZE 35
57 #define EMULTIHOP 36
58 #define ENAMETOOLONG 37
59 #define ENETDOWN 38
60 #define ENETRESET 39
61 #define ENETUNREACH 40
62 #define ENFILE 41
63 #define ENOBUFS 42
64 #define ENODATA 43
65 #define ENODEV 44
66 #define ENOENT 45
67 #define ENOEXEC 46
68 #define ENOLCK 47
69 #define ENOLINK 48
70 #define ENOMEM 49
71 #define ENOMSG 50
72 #define ENOPROTOOPT 51
73 #define ENOSPC 52
74 #define ENOSR 53
75 #define ENOSTR 54
76 #define ENOSYS 55
77 #define ENOTCONN 56
78 #define ENOTDIR 57
79 #define ENOTEMPTY 58
80 #define ENOTSOCK 59
81 #define ENOTSUP 60
82 #define ENOTTY 61
83 #define ENXIO 62
84 #define EOPNOTSUPP 63
85 #define EOVERFLOW 64
86 #define EPERM 65
87 #define EPIPE 66
88 #define EPROTO 67
89 #define EPROTONOSUPPORT 68
90 #define EPROTOTYPE 69
91 #define ERANGE 70
92 #define EROFS 71
93 #define ESPIPE 72
94 #define ESRCH 73
95 #define ESTALE 74
96 #define ETIME 75
97 #define ETIMEDOUT 76
98 #define ETXTBSY 77
99 #define EWOULDBLOCK 78
100 #define EXDEV 79
102 int errno;
104 #endif