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