XenevaOS
Loading...
Searching...
No Matches
errno.h
Go to the documentation of this file.
1
30#ifndef __ERROR_NO_H__
31#define __ERROR_NO_H__
32
33#include <_xeneva.h>
34
35#ifdef __cplusplus
37#endif
38
40
41#define errno (*__errno_location())
42
43#define EPERM 1 /* Not super-user */
44#define ENOENT 2 /* No such file or directory */
45#define ESRCH 3 /* No such process */
46#define EINTR 4 /* Interrupted system call */
47#define EIO 5 /* I/O error */
48#define ENXIO 6 /* No such device or address */
49#define E2BIG 7 /* Arg list too long */
50#define ENOEXEC 8 /* Exec format error */
51#define EBADF 9 /* Bad file number */
52#define ECHILD 10 /* No children */
53#define EAGAIN 11 /* No more processes */
54#define ENOMEM 12 /* Not enough core */
55#define EACCES 13 /* Permission denied */
56#define EFAULT 14 /* Bad address */
57#define ENOTBLK 15 /* Block device required */
58#define EBUSY 16 /* Mount device busy */
59#define EEXIST 17 /* File exists */
60#define EXDEV 18 /* Cross-device link */
61#define ENODEV 19 /* No such device */
62#define ENOTDIR 20 /* Not a directory */
63#define EISDIR 21 /* Is a directory */
64#define EINVAL 22 /* Invalid argument */
65#define ENFILE 23 /* Too many open files in system */
66#define EMFILE 24 /* Too many open files */
67#define ENOTTY 25 /* Not a typewriter */
68#define ETXTBSY 26 /* Text file busy */
69#define EFBIG 27 /* File too large */
70#define ENOSPC 28 /* No space left on device */
71#define ESPIPE 29 /* Illegal seek */
72#define EROFS 30 /* Read only file system */
73#define EMLINK 31 /* Too many links */
74#define EPIPE 32 /* Broken pipe */
75#define EDOM 33 /* Math arg out of domain of func */
76#define ERANGE 34 /* Math result not representable */
77#define ENOMSG 35 /* No message of desired type */
78#define EIDRM 36 /* Identifier removed */
79#define ECHRNG 37 /* Channel number out of range */
80#define EL2NSYNC 38 /* Level 2 not synchronized */
81#define EL3HLT 39 /* Level 3 halted */
82#define EL3RST 40 /* Level 3 reset */
83#define ELNRNG 41 /* Link number out of range */
84#define EUNATCH 42 /* Protocol driver not attached */
85#define ENOCSI 43 /* No CSI structure available */
86#define EL2HLT 44 /* Level 2 halted */
87#define EDEADLK 45 /* Deadlock condition */
88#define ENOLCK 46 /* No record locks available */
89#define EBADE 50 /* Invalid exchange */
90#define EBADR 51 /* Invalid request descriptor */
91#define EXFULL 52 /* Exchange full */
92#define ENOANO 53 /* No anode */
93#define EBADRQC 54 /* Invalid request code */
94#define EBADSLT 55 /* Invalid slot */
95#define EDEADLOCK 56 /* File locking deadlock error */
96#define EBFONT 57 /* Bad font file fmt */
97#define ENOSTR 60 /* Device not a stream */
98#define ENODATA 61 /* No data (for no delay io) */
99#define ETIME 62 /* Timer expired */
100#define ENOSR 63 /* Out of streams resources */
101#define ENONET 64 /* Machine is not on the network */
102#define ENOPKG 65 /* Package not installed */
103#define EREMOTE 66 /* The object is remote */
104#define ENOLINK 67 /* The link has been severed */
105#define EADV 68 /* Advertise error */
106#define ESRMNT 69 /* Srmount error */
107#define ECOMM 70 /* Communication error on send */
108#define EPROTO 71 /* Protocol error */
109#define EMULTIHOP 74 /* Multihop attempted */
110#define ELBIN 75 /* Inode is remote (not really error) */
111#define EDOTDOT 76 /* Cross mount point (not really error) */
112#define EBADMSG 77 /* Trying to read unreadable message */
113#define EFTYPE 79 /* Inappropriate file type or format */
114#define ENOTUNIQ 80 /* Given log. name not unique */
115#define EBADFD 81 /* f.d. invalid for this operation */
116#define EREMCHG 82 /* Remote address changed */
117#define ELIBACC 83 /* Can't access a needed shared lib */
118#define ELIBBAD 84 /* Accessing a corrupted shared lib */
119#define ELIBSCN 85 /* .lib section in a.out corrupted */
120#define ELIBMAX 86 /* Attempting to link in too many libs */
121#define ELIBEXEC 87 /* Attempting to exec a shared library */
122#define ENOSYS 88 /* Function not implemented */
123#define ENOTEMPTY 90 /* Directory not empty */
124#define ENAMETOOLONG 91 /* File or path name too long */
125#define ELOOP 92 /* Too many symbolic links */
126#define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
127#define EPFNOSUPPORT 96 /* Protocol family not supported */
128#define ECONNRESET 104 /* Connection reset by peer */
129#define ENOBUFS 105 /* No buffer space available */
130#define EAFNOSUPPORT 106 /* Address family not supported by protocol family */
131#define EPROTOTYPE 107 /* Protocol wrong type for socket */
132#define ENOTSOCK 108 /* Socket operation on non-socket */
133#define ENOPROTOOPT 109 /* Protocol not available */
134#define ESHUTDOWN 110 /* Can't send after socket shutdown */
135#define ECONNREFUSED 111 /* Connection refused */
136#define EADDRINUSE 112 /* Address already in use */
137#define ECONNABORTED 113 /* Connection aborted */
138#define ENETUNREACH 114 /* Network is unreachable */
139#define ENETDOWN 115 /* Network interface is not configured */
140#define ETIMEDOUT 116 /* Connection timed out */
141#define EHOSTDOWN 117 /* Host is down */
142#define EHOSTUNREACH 118 /* Host is unreachable */
143#define EINPROGRESS 119 /* Connection already in progress */
144#define EALREADY 120 /* Socket already connected */
145#define EDESTADDRREQ 121 /* Destination address required */
146#define EMSGSIZE 122 /* Message too long */
147#define EPROTONOSUPPORT 123 /* Unknown protocol */
148#define ESOCKTNOSUPPORT 124 /* Socket type not supported */
149#define EADDRNOTAVAIL 125 /* Address not available */
150#define ENETRESET 126
151#define EISCONN 127 /* Socket is already connected */
152#define ENOTCONN 128 /* Socket is not connected */
153#define ETOOMANYREFS 129
154#define EPROCLIM 130
155#define EUSERS 131
156#define EDQUOT 132
157#define ESTALE 133
158#define ENOTSUP 134 /* Not supported */
159#define EILSEQ 138
160#define EOVERFLOW 139 /* Value too large for defined data type */
161#define ECANCELED 140 /* Operation canceled */
162#define ENOTRECOVERABLE 141 /* State not recoverable */
163#define EOWNERDEAD 142 /* Previous owner died */
164#define ESTRPIPE 143 /* Streams pipe error */
165#define EWOULDBLOCK EAGAIN /* Operation would block */
166
167#ifdef __cplusplus
168}
169#endif
170
171#endif
#define XE_EXPORT
Definition _xeneva.h:46
#define XE_EXTERN
Definition _xeneva.h:50
XE_EXPORT int * __errno_location()
Definition errno.cpp:35