Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
errno.h
Go to the documentation of this file.
1
/* Copyright (c) 2002,2007 Marek Michalkiewicz
2
All rights reserved.
3
4
Redistribution and use in source and binary forms, with or without
5
modification, are permitted provided that the following conditions are met:
6
7
* Redistributions of source code must retain the above copyright
8
notice, this list of conditions and the following disclaimer.
9
10
* Redistributions in binary form must reproduce the above copyright
11
notice, this list of conditions and the following disclaimer in
12
the documentation and/or other materials provided with the
13
distribution.
14
15
* Neither the name of the copyright holders nor the names of
16
contributors may be used to endorse or promote products derived
17
from this software without specific prior written permission.
18
19
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
POSSIBILITY OF SUCH DAMAGE. */
30
31
#ifndef ERRNO_H
32
#define ERRNO_H
33
53
#ifdef __cplusplus
54
extern
"C"
{
55
#endif
56
60
extern
int
errno
;
61
62
#ifdef __cplusplus
63
}
64
#endif
65
70
#define E2BIG (1)
71
#define EACCES (2)
72
#define EADDRINUSE (3)
73
#define EADDRNOTAVAIL (4)
74
#define EAFNOSUPPORT (5)
75
#define EAGAIN (6)
76
#define EALREADY (7)
77
#define EBADF (8)
78
#define EBADMSG (9)
79
#define EBUSY (10)
80
#define ECANCELED (11)
81
#define ECHILD (12)
82
#define ECONNABORTED (13)
83
#define ECONNREFUSED (14)
84
#define ECONNRESET (15)
85
#define EDEADLK (16)
86
#define EDESTADDRREQ (17)
87
#define EMFILE (18)
88
#define EDQUOT (19)
89
#define EEXIST (20)
90
#define EFAULT (21)
91
#define EFBIG (22)
92
#define EHOSTUNREACH (23)
93
#define EIDRM (24)
94
#define EILSEQ (25)
95
#define EINPROGRESS (26)
96
#define EINTR (27)
97
#define EINVAL (28)
98
#define EIO (29)
99
#define EISCONN (30)
100
#define EISDIR (31)
101
#define ELOOP (32)
102
#define EDOM (33)
103
#define ERANGE (34)
104
#define EMSGSIZE (35)
105
#define EMULTIHOP (36)
106
#define ENAMETOOLONG (37)
107
#define ENETDOWN (38)
108
#define ENETRESET (39)
109
#define ENETUNREACH (40)
110
#define ENFILE (41)
111
#define ENOBUFS (42)
112
#define ENODATA (43)
113
#define ENODEV (44)
114
#define ENOENT (45)
115
#define ENOEXEC (46)
116
#define ENOLCK (47)
117
#define ENOLINK (48)
118
#define ENOMEM (49)
119
#define ENOMSG (50)
120
#define ENOPROTOOPT (51)
121
#define ENOSPC (52)
122
#define ENOSR (53)
123
#define ENOSTR (54)
124
#define ENOSYS (55)
125
#define ENOTCONN (56)
126
#define ENOTDIR (57)
127
#define ENOTEMPTY (58)
128
#define ENOTRECOVERABLE (59)
129
#define ENOTSOCK (60)
130
#define ENOTSUP (61)
131
#define ENOTTY (62)
132
#define ENXIO (63)
133
#define EOPNOTSUPP (64)
134
#define EOVERFLOW (65)
135
#define EOWNERDEAD (66)
136
#define EPERM (67)
137
#define EPIPE (68)
138
#define EPROTO (69)
139
#define EPROTONOSUPPORT (70)
140
#define EPROTOTYPE (71)
141
#define EMLINK (72)
142
#define EROFS (73)
143
#define ESPIPE (74)
144
#define ESRCH (75)
145
#define ESTALE (76)
146
#define ETIME (77)
147
#define ETIMEDOUT (78)
148
#define ETXTBSY (79)
149
#define EWOULDBLOCK (80)
150
#define EXDEV (81)
151
#define EHOSTDOWN (82)
152
#define EPFNOSUPPORT (83)
153
#define ETOOMANYREFS (84)
158
#endif
/* ERRNO_H */
errno
int errno
number of last error
Generated on Sat Nov 23 2024 01:58:06 by
1.9.8