Rev 2967 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2967 | Rev 5270 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #ifndef _ASM_GENERIC_ERRNO_H |
1 | #ifndef _LINUX_ERRNO_H |
2 | #define _ASM_GENERIC_ERRNO_H |
2 | #define _LINUX_ERRNO_H |
Line 3... | Line 3... | ||
3 | 3 | ||
Line 4... | Line -... | ||
4 | #include |
- | |
5 | - | ||
6 | #define ERESTARTSYS 512 |
- | |
7 | - | ||
8 | - | ||
9 | #define EDEADLK 35 /* Resource deadlock would occur */ |
- | |
10 | #define ENAMETOOLONG 36 /* File name too long */ |
- | |
11 | #define ENOLCK 37 /* No record locks available */ |
- | |
12 | #define ENOSYS 38 /* Function not implemented */ |
- | |
13 | #define ENOTEMPTY 39 /* Directory not empty */ |
- | |
14 | #define ELOOP 40 /* Too many symbolic links encountered */ |
- | |
15 | #define EWOULDBLOCK EAGAIN /* Operation would block */ |
- | |
16 | #define ENOMSG 42 /* No message of desired type */ |
- | |
17 | #define EIDRM 43 /* Identifier removed */ |
- | |
18 | #define ECHRNG 44 /* Channel number out of range */ |
- | |
19 | #define EL2NSYNC 45 /* Level 2 not synchronized */ |
- | |
20 | #define EL3HLT 46 /* Level 3 halted */ |
- | |
21 | #define EL3RST 47 /* Level 3 reset */ |
- | |
22 | #define ELNRNG 48 /* Link number out of range */ |
- | |
23 | #define EUNATCH 49 /* Protocol driver not attached */ |
- | |
24 | #define ENOCSI 50 /* No CSI structure available */ |
- | |
25 | #define EL2HLT 51 /* Level 2 halted */ |
- | |
26 | #define EBADE 52 /* Invalid exchange */ |
- | |
27 | #define EBADR 53 /* Invalid request descriptor */ |
- | |
28 | #define EXFULL 54 /* Exchange full */ |
- | |
29 | #define ENOANO 55 /* No anode */ |
- | |
30 | #define EBADRQC 56 /* Invalid request code */ |
- | |
31 | #define EBADSLT 57 /* Invalid slot */ |
- | |
32 | - | ||
33 | #define EDEADLOCK EDEADLK |
- | |
34 | - | ||
35 | #define EBFONT 59 /* Bad font file format */ |
- | |
36 | #define ENOSTR 60 /* Device not a stream */ |
- | |
37 | #define ENODATA 61 /* No data available */ |
- | |
38 | #define ETIME 62 /* Timer expired */ |
- | |
39 | #define ENOSR 63 /* Out of streams resources */ |
- | |
40 | #define ENONET 64 /* Machine is not on the network */ |
- | |
41 | #define ENOPKG 65 /* Package not installed */ |
- | |
42 | #define EREMOTE 66 /* Object is remote */ |
- | |
43 | #define ENOLINK 67 /* Link has been severed */ |
- | |
44 | #define EADV 68 /* Advertise error */ |
- | |
45 | #define ESRMNT 69 /* Srmount error */ |
- | |
46 | #define ECOMM 70 /* Communication error on send */ |
- | |
47 | #define EPROTO 71 /* Protocol error */ |
- | |
48 | #define EMULTIHOP 72 /* Multihop attempted */ |
- | |
49 | #define EDOTDOT 73 /* RFS specific error */ |
- | |
50 | #define EBADMSG 74 /* Not a data message */ |
- | |
51 | #define EOVERFLOW 75 /* Value too large for defined data type */ |
- | |
52 | #define ENOTUNIQ 76 /* Name not unique on network */ |
- | |
53 | #define EBADFD 77 /* File descriptor in bad state */ |
- | |
54 | #define EREMCHG 78 /* Remote address changed */ |
- | |
55 | #define ELIBACC 79 /* Can not access a needed shared library */ |
- | |
56 | #define ELIBBAD 80 /* Accessing a corrupted shared library */ |
- | |
57 | #define ELIBSCN 81 /* .lib section in a.out corrupted */ |
- | |
58 | #define ELIBMAX 82 /* Attempting to link in too many shared libraries */ |
- | |
59 | #define ELIBEXEC 83 /* Cannot exec a shared library directly */ |
- | |
60 | #define EILSEQ 84 /* Illegal byte sequence */ |
- | |
61 | #define ERESTART 85 /* Interrupted system call should be restarted */ |
- | |
62 | #define ESTRPIPE 86 /* Streams pipe error */ |
- | |
63 | #define EUSERS 87 /* Too many users */ |
- | |
64 | #define ENOTSOCK 88 /* Socket operation on non-socket */ |
- | |
65 | #define EDESTADDRREQ 89 /* Destination address required */ |
- | |
66 | #define EMSGSIZE 90 /* Message too long */ |
- | |
67 | #define EPROTOTYPE 91 /* Protocol wrong type for socket */ |
- | |
68 | #define ENOPROTOOPT 92 /* Protocol not available */ |
- | |
69 | #define EPROTONOSUPPORT 93 /* Protocol not supported */ |
- | |
70 | #define ESOCKTNOSUPPORT 94 /* Socket type not supported */ |
- | |
71 | #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ |
- | |
72 | #define EPFNOSUPPORT 96 /* Protocol family not supported */ |
- | |
73 | #define EAFNOSUPPORT 97 /* Address family not supported by protocol */ |
- | |
74 | #define EADDRINUSE 98 /* Address already in use */ |
- | |
75 | #define EADDRNOTAVAIL 99 /* Cannot assign requested address */ |
- | |
76 | #define ENETDOWN 100 /* Network is down */ |
- | |
77 | #define ENETUNREACH 101 /* Network is unreachable */ |
- | |
78 | #define ENETRESET 102 /* Network dropped connection because of reset */ |
- | |
79 | #define ECONNABORTED 103 /* Software caused connection abort */ |
- | |
80 | #define ECONNRESET 104 /* Connection reset by peer */ |
- | |
81 | #define ENOBUFS 105 /* No buffer space available */ |
- | |
82 | #define EISCONN 106 /* Transport endpoint is already connected */ |
- | |
83 | #define ENOTCONN 107 /* Transport endpoint is not connected */ |
- | |
84 | #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */ |
- | |
85 | #define ETOOMANYREFS 109 /* Too many references: cannot splice */ |
- | |
86 | #define ETIMEDOUT 110 /* Connection timed out */ |
- | |
87 | #define ECONNREFUSED 111 /* Connection refused */ |
- | |
88 | #define EHOSTDOWN 112 /* Host is down */ |
- | |
89 | #define EHOSTUNREACH 113 /* No route to host */ |
- | |
90 | #define EALREADY 114 /* Operation already in progress */ |
- | |
91 | #define EINPROGRESS 115 /* Operation now in progress */ |
- | |
92 | #define ESTALE 116 /* Stale NFS file handle */ |
- | |
93 | #define EUCLEAN 117 /* Structure needs cleaning */ |
- | |
94 | #define ENOTNAM 118 /* Not a XENIX named type file */ |
- | |
95 | #define ENAVAIL 119 /* No XENIX semaphores available */ |
- | |
96 | #define EISNAM 120 /* Is a named type file */ |
- | |
97 | #define EREMOTEIO 121 /* Remote I/O error */ |
- | |
98 | #define EDQUOT 122 /* Quota exceeded */ |
- | |
99 | - | ||
100 | #define ENOMEDIUM 123 /* No medium found */ |
- | |
101 | #define EMEDIUMTYPE 124 /* Wrong medium type */ |
- | |
102 | #define ECANCELED 125 /* Operation Canceled */ |
- | |
103 | #define ENOKEY 126 /* Required key not available */ |
- | |
104 | #define EKEYEXPIRED 127 /* Key has expired */ |
- | |
105 | #define EKEYREVOKED 128 /* Key has been revoked */ |
- | |
106 | #define EKEYREJECTED 129 /* Key was rejected by service */ |
- | |
107 | - | ||
108 | /* for robust mutexes */ |
- | |
109 | #define EOWNERDEAD 130 /* Owner died */ |
- | |
110 | #define ENOTRECOVERABLE 131 /* State not recoverable */ |
- | |
Line -... | Line 4... | ||
- | 4 | #include |
|
- | 5 | ||
- | 6 | ||
- | 7 | /* |
|
- | 8 | * These should never be seen by user programs. To return one of ERESTART* |
|
- | 9 | * codes, signal_pending() MUST be set. Note that ptrace can observe these |
|
- | 10 | * at syscall exit tracing, but they will never be left for the debugged user |
|
- | 11 | * process to see. |
|
- | 12 | */ |
|
- | 13 | #define ERESTARTSYS 512 |
|
- | 14 | #define ERESTARTNOINTR 513 |
|
- | 15 | #define ERESTARTNOHAND 514 /* restart if no handler.. */ |
|
- | 16 | #define ENOIOCTLCMD 515 /* No ioctl command */ |
|
- | 17 | #define ERESTART_RESTARTBLOCK 516 /* restart by calling sys_restart_syscall */ |
|
- | 18 | #define EPROBE_DEFER 517 /* Driver requests probe retry */ |
|
- | 19 | #define EOPENSTALE 518 /* open found a stale dentry */ |
|
- | 20 | ||
- | 21 | /* Defined for the NFSv3 protocol */ |
|
111 | 22 | #define EBADHANDLE 521 /* Illegal NFS file handle */ |
|
- | 23 | #define ENOTSYNC 522 /* Update synchronization mismatch */ |
|
- | 24 | #define EBADCOOKIE 523 /* Cookie is stale */ |
|
- | 25 | #define ENOTSUPP 524 /* Operation is not supported */ |
|
- | 26 | #define ETOOSMALL 525 /* Buffer or request is too small */ |
|
- | 27 | #define ESERVERFAULT 526 /* An untranslatable error occurred */ |
|
Line 112... | Line 28... | ||
112 | #define ERFKILL 132 /* Operation not possible due to RF-kill */ |
28 | #define EBADTYPE 527 /* Type not supported by server */ |