kbd: use a better get_key method
[thunix.git] / include / errno.h
blobb9aad066ec764b81bf601af6e7e6e5ea30c04be7
1 #ifndef _ASM_GENERIC_ERRNO_H
2 #define _ASM_GENERIC_ERRNO_H
4 /* From linux kernel source code */
6 #include <errno-base.h>
8 #define EDEADLK 35 /* Resource deadlock would occur */
9 #define ENAMETOOLONG 36 /* File name too long */
10 #define ENOLCK 37 /* No record locks available */
11 #define ENOSYS 38 /* Function not implemented */
12 #define ENOTEMPTY 39 /* Directory not empty */
13 #define ELOOP 40 /* Too many symbolic links encountered */
14 #define EWOULDBLOCK EAGAIN /* Operation would block */
15 #define ENOMSG 42 /* No message of desired type */
16 #define EIDRM 43 /* Identifier removed */
17 #define ECHRNG 44 /* Channel number out of range */
18 #define EL2NSYNC 45 /* Level 2 not synchronized */
19 #define EL3HLT 46 /* Level 3 halted */
20 #define EL3RST 47 /* Level 3 reset */
21 #define ELNRNG 48 /* Link number out of range */
22 #define EUNATCH 49 /* Protocol driver not attached */
23 #define ENOCSI 50 /* No CSI structure available */
24 #define EL2HLT 51 /* Level 2 halted */
25 #define EBADE 52 /* Invalid exchange */
26 #define EBADR 53 /* Invalid request descriptor */
27 #define EXFULL 54 /* Exchange full */
28 #define ENOANO 55 /* No anode */
29 #define EBADRQC 56 /* Invalid request code */
30 #define EBADSLT 57 /* Invalid slot */
32 #define EDEADLOCK EDEADLK
34 #define EBFONT 59 /* Bad font file format */
35 #define ENOSTR 60 /* Device not a stream */
36 #define ENODATA 61 /* No data available */
37 #define ETIME 62 /* Timer expired */
38 #define ENOSR 63 /* Out of streams resources */
39 #define ENONET 64 /* Machine is not on the network */
40 #define ENOPKG 65 /* Package not installed */
41 #define EREMOTE 66 /* Object is remote */
42 #define ENOLINK 67 /* Link has been severed */
43 #define EADV 68 /* Advertise error */
44 #define ESRMNT 69 /* Srmount error */
45 #define ECOMM 70 /* Communication error on send */
46 #define EPROTO 71 /* Protocol error */
47 #define EMULTIHOP 72 /* Multihop attempted */
48 #define EDOTDOT 73 /* RFS specific error */
49 #define EBADMSG 74 /* Not a data message */
50 #define EOVERFLOW 75 /* Value too large for defined data type */
51 #define ENOTUNIQ 76 /* Name not unique on network */
52 #define EBADFD 77 /* File descriptor in bad state */
53 #define EREMCHG 78 /* Remote address changed */
54 #define ELIBACC 79 /* Can not access a needed shared library */
55 #define ELIBBAD 80 /* Accessing a corrupted shared library */
56 #define ELIBSCN 81 /* .lib section in a.out corrupted */
57 #define ELIBMAX 82 /* Attempting to link in too many shared libraries */
58 #define ELIBEXEC 83 /* Cannot exec a shared library directly */
59 #define EILSEQ 84 /* Illegal byte sequence */
60 #define ERESTART 85 /* Interrupted system call should be restarted */
61 #define ESTRPIPE 86 /* Streams pipe error */
62 #define EUSERS 87 /* Too many users */
63 #define ENOTSOCK 88 /* Socket operation on non-socket */
64 #define EDESTADDRREQ 89 /* Destination address required */
65 #define EMSGSIZE 90 /* Message too long */
66 #define EPROTOTYPE 91 /* Protocol wrong type for socket */
67 #define ENOPROTOOPT 92 /* Protocol not available */
68 #define EPROTONOSUPPORT 93 /* Protocol not supported */
69 #define ESOCKTNOSUPPORT 94 /* Socket type not supported */
70 #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
71 #define EPFNOSUPPORT 96 /* Protocol family not supported */
72 #define EAFNOSUPPORT 97 /* Address family not supported by protocol */
73 #define EADDRINUSE 98 /* Address already in use */
74 #define EADDRNOTAVAIL 99 /* Cannot assign requested address */
75 #define ENETDOWN 100 /* Network is down */
76 #define ENETUNREACH 101 /* Network is unreachable */
77 #define ENETRESET 102 /* Network dropped connection because of reset */
78 #define ECONNABORTED 103 /* Software caused connection abort */
79 #define ECONNRESET 104 /* Connection reset by peer */
80 #define ENOBUFS 105 /* No buffer space available */
81 #define EISCONN 106 /* Transport endpoint is already connected */
82 #define ENOTCONN 107 /* Transport endpoint is not connected */
83 #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
84 #define ETOOMANYREFS 109 /* Too many references: cannot splice */
85 #define ETIMEDOUT 110 /* Connection timed out */
86 #define ECONNREFUSED 111 /* Connection refused */
87 #define EHOSTDOWN 112 /* Host is down */
88 #define EHOSTUNREACH 113 /* No route to host */
89 #define EALREADY 114 /* Operation already in progress */
90 #define EINPROGRESS 115 /* Operation now in progress */
91 #define ESTALE 116 /* Stale NFS file handle */
92 #define EUCLEAN 117 /* Structure needs cleaning */
93 #define ENOTNAM 118 /* Not a XENIX named type file */
94 #define ENAVAIL 119 /* No XENIX semaphores available */
95 #define EISNAM 120 /* Is a named type file */
96 #define EREMOTEIO 121 /* Remote I/O error */
97 #define EDQUOT 122 /* Quota exceeded */
99 #define ENOMEDIUM 123 /* No medium found */
100 #define EMEDIUMTYPE 124 /* Wrong medium type */
101 #define ECANCELED 125 /* Operation Canceled */
102 #define ENOKEY 126 /* Required key not available */
103 #define EKEYEXPIRED 127 /* Key has expired */
104 #define EKEYREVOKED 128 /* Key has been revoked */
105 #define EKEYREJECTED 129 /* Key was rejected by service */
107 /* for robust mutexes */
108 #define EOWNERDEAD 130 /* Owner died */
109 #define ENOTRECOVERABLE 131 /* State not recoverable */
111 #define ERFKILL 132 /* Operation not possible due to RF-kill */
113 #endif