MentOS
0.8.0
The Mentoring Operating System
libc
inc
sys
errno.h
Go to the documentation of this file.
1
6
#pragma once
7
8
extern
int
*
__geterrno
(
void
);
9
11
#define errno (*__geterrno())
12
13
#define EPERM 1
14
#define ENOENT 2
15
#define ESRCH 3
16
#define EINTR 4
17
#define EIO 5
18
#define ENXIO 6
19
#define E2BIG 7
20
#define ENOEXEC 8
21
#define EBADF 9
22
#define ECHILD 10
23
#define EAGAIN 11
24
#define ENOMEM 12
25
#define EACCES 13
26
#define EFAULT 14
27
#define ENOTBLK 15
28
#define EBUSY 16
29
#define EEXIST 17
30
#define EXDEV 18
31
#define ENODEV 19
32
#define ENOTDIR 20
33
#define EISDIR 21
34
#define EINVAL 22
35
#define ENFILE 23
36
#define EMFILE 24
37
#define ENOTTY 25
38
#define ETXTBSY 26
39
#define EFBIG 27
40
#define ENOSPC 28
41
#define ESPIPE 29
42
#define EROFS 30
43
#define EMLINK 31
44
#define EPIPE 32
45
#define EDOM 33
46
#define ERANGE 34
47
#define EDEADLK 35
48
#define ENAMETOOLONG 36
49
#define ENOLCK 37
50
#define ENOSYS 38
51
#define ENOTEMPTY 39
52
#define ELOOP 40
53
#define EWOULDBLOCK EAGAIN
54
#define ENOMSG 42
55
#define EIDRM 43
56
#define ECHRNG 44
57
#define EL2NSYNC 45
58
#define EL3HLT 46
59
#define EL3RST 47
60
#define ELNRNG 48
61
#define EUNATCH 49
62
#define ENOCSI 50
63
#define EL2HLT 51
64
#define EBADE 52
65
#define EBADR 53
66
#define EXFULL 54
67
#define ENOANO 55
68
#define EBADRQC 56
69
#define EBADSLT 57
70
#define EDEADLOCK EDEADLK
71
#define EBFONT 59
72
#define ENOSTR 60
73
#define ENODATA 61
74
#define ETIME 62
75
#define ENOSR 63
76
#define ENONET 64
77
#define ENOPKG 65
78
#define EREMOTE 66
79
#define ENOLINK 67
80
#define EADV 68
81
#define ESRMNT 69
82
#define ECOMM 70
83
#define EPROTO 71
84
#define EMULTIHOP 72
85
#define EDOTDOT 73
86
#define EBADMSG 74
87
#define EOVERFLOW 75
88
#define ENOTUNIQ 76
89
#define EBADFD 77
90
#define EREMCHG 78
91
#define ELIBACC 79
92
#define ELIBBAD 80
93
#define ELIBSCN 81
94
#define ELIBMAX 82
95
#define ELIBEXEC 83
96
#define EILSEQ 84
97
#define ERESTART 85
98
#define ESTRPIPE 86
99
#define EUSERS 87
100
#define ENOTSOCK 88
101
#define EDESTADDRREQ 89
102
#define EMSGSIZE 90
103
#define EPROTOTYPE 91
104
#define ENOPROTOOPT 92
105
#define EPROTONOSUPPORT 93
106
#define ESOCKTNOSUPPORT 94
107
#define EOPNOTSUPP 95
108
#define EPFNOSUPPORT 96
109
#define EAFNOSUPPORT 97
110
#define EADDRINUSE 98
111
#define EADDRNOTAVAIL 99
112
#define ENETDOWN 100
113
#define ENETUNREACH 101
114
#define ENETRESET 102
115
#define ECONNABORTED 103
116
#define ECONNRESET 104
117
#define ENOBUFS 105
118
#define EISCONN 106
119
#define ENOTCONN 107
120
#define ESHUTDOWN 108
121
#define ETOOMANYREFS 109
122
#define ETIMEDOUT 110
123
#define ECONNREFUSED 111
124
#define EHOSTDOWN 112
125
#define EHOSTUNREACH 113
126
#define EALREADY 114
127
#define EINPROGRESS 115
128
#define ESTALE 116
129
#define EUCLEAN 117
130
#define ENOTNAM 118
131
#define ENAVAIL 119
132
#define EISNAM 120
133
#define EREMOTEIO 121
134
#define EDQUOT 122
135
#define ENOMEDIUM 123
136
#define EMEDIUMTYPE 124
137
#define ENOTSCHEDULABLE 125
__geterrno
int * __geterrno(void)
Returns the error number for the current process.
Definition:
errno.c:11
Generated by
1.9.1