source: svn/trunk/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/bits/errno_values.h

Last change on this file was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 6.3 KB
Line 
1#ifndef _BITS_ERRNO_VALUES_H
2#define _BITS_ERRNO_VALUES_H
3
4/* These error numbers are intended to be MIPS ABI compatible */
5
6#define EPERM            1      /* Operation not permitted */
7#define ENOENT           2      /* No such file or directory */
8#define ESRCH            3      /* No such process */
9#define EINTR            4      /* Interrupted system call */
10#define EIO              5      /* I/O error */
11#define ENXIO            6      /* No such device or address */
12#define E2BIG            7      /* Argument list too long */
13#define ENOEXEC          8      /* Exec format error */
14#define EBADF            9      /* Bad file number */
15#define ECHILD          10      /* No child processes */
16#define EAGAIN          11      /* Try again */
17#define ENOMEM          12      /* Out of memory */
18#define EACCES          13      /* Permission denied */
19#define EFAULT          14      /* Bad address */
20#define ENOTBLK         15      /* Block device required */
21#define EBUSY           16      /* Device or resource busy */
22#define EEXIST          17      /* File exists */
23#define EXDEV           18      /* Cross-device link */
24#define ENODEV          19      /* No such device */
25#define ENOTDIR         20      /* Not a directory */
26#define EISDIR          21      /* Is a directory */
27#define EINVAL          22      /* Invalid argument */
28#define ENFILE          23      /* File table overflow */
29#define EMFILE          24      /* Too many open files */
30#define ENOTTY          25      /* Not a typewriter */
31#define ETXTBSY         26      /* Text file busy */
32#define EFBIG           27      /* File too large */
33#define ENOSPC          28      /* No space left on device */
34#define ESPIPE          29      /* Illegal seek */
35#define EROFS           30      /* Read-only file system */
36#define EMLINK          31      /* Too many links */
37#define EPIPE           32      /* Broken pipe */
38#define EDOM            33      /* Math argument out of domain of func */
39#define ERANGE          34      /* Math result not representable */
40#define ENOMSG          35      /* No message of desired type */
41#define EIDRM           36      /* Identifier removed */
42#define ECHRNG          37      /* Channel number out of range */
43#define EL2NSYNC        38      /* Level 2 not synchronized */
44#define EL3HLT          39      /* Level 3 halted */
45#define EL3RST          40      /* Level 3 reset */
46#define ELNRNG          41      /* Link number out of range */
47#define EUNATCH         42      /* Protocol driver not attached */
48#define ENOCSI          43      /* No CSI structure available */
49#define EL2HLT          44      /* Level 2 halted */
50#define EDEADLK         45      /* Resource deadlock would occur */
51#define ENOLCK          46      /* No record locks available */
52#define EBADE           50      /* Invalid exchange */
53#define EBADR           51      /* Invalid request descriptor */
54#define EXFULL          52      /* Exchange full */
55#define ENOANO          53      /* No anode */
56#define EBADRQC         54      /* Invalid request code */
57#define EBADSLT         55      /* Invalid slot */
58#define EDEADLOCK       56      /* File locking deadlock error */
59#define EBFONT          59      /* Bad font file format */
60#define ENOSTR          60      /* Device not a stream */
61#define ENODATA         61      /* No data available */
62#define ETIME           62      /* Timer expired */
63#define ENOSR           63      /* Out of streams resources */
64#define ENONET          64      /* Machine is not on the network */
65#define ENOPKG          65      /* Package not installed */
66#define EREMOTE         66      /* Object is remote */
67#define ENOLINK         67      /* Link has been severed */
68#define EADV            68      /* Advertise error */
69#define ESRMNT          69      /* Srmount error */
70#define ECOMM           70      /* Communication error on send */
71#define EPROTO          71      /* Protocol error */
72#define EDOTDOT         73      /* RFS specific error */
73#define EMULTIHOP       74      /* Multihop attempted */
74#define EBADMSG         77      /* Not a data message */
75#define ENAMETOOLONG    78      /* File name too long */
76#define EOVERFLOW       79      /* Value too large for defined data type */
77#define ENOTUNIQ        80      /* Name not unique on network */
78#define EBADFD          81      /* File descriptor in bad state */
79#define EREMCHG         82      /* Remote address changed */
80#define ELIBACC         83      /* Can not access a needed shared library */
81#define ELIBBAD         84      /* Accessing a corrupted shared library */
82#define ELIBSCN         85      /* .lib section in a.out corrupted */
83#define ELIBMAX         86      /* Attempting to link in too many shared libraries */
84#define ELIBEXEC        87      /* Cannot exec a shared library directly */
85#define EILSEQ          88      /* Illegal byte sequence */
86#define ENOSYS          89      /* Function not implemented */
87#define ELOOP           90      /* Too many symbolic links encountered */
88#define ERESTART        91      /* Interrupted system call should be restarted */
89#define ESTRPIPE        92      /* Streams pipe error */
90#define ENOTEMPTY       93      /* Directory not empty */
91#define EUSERS          94      /* Too many users */
92#define ENOTSOCK        95      /* Socket operation on non-socket */
93#define EDESTADDRREQ    96      /* Destination address required */
94#define EMSGSIZE        97      /* Message too long */
95#define EPROTOTYPE      98      /* Protocol wrong type for socket */
96#define ENOPROTOOPT     99      /* Protocol not available */
97#define EPROTONOSUPPORT 120     /* Protocol not supported */
98#define ESOCKTNOSUPPORT 121     /* Socket type not supported */
99#define EOPNOTSUPP      122     /* Operation not supported on transport endpoint */
100#define EPFNOSUPPORT    123     /* Protocol family not supported */
101#define EAFNOSUPPORT    124     /* Address family not supported by protocol */
102#define EADDRINUSE      125     /* Address already in use */
103#define EADDRNOTAVAIL   126     /* Cannot assign requested address */
104#define ENETDOWN        127     /* Network is down */
105#define ENETUNREACH     128     /* Network is unreachable */
106#define ENETRESET       129     /* Network dropped connection because of reset */
107#define ECONNABORTED    130     /* Software caused connection abort */
108#define ECONNRESET      131     /* Connection reset by peer */
109#define ENOBUFS         132     /* No buffer space available */
110#define EISCONN         133     /* Transport endpoint is already connected */
111#define ENOTCONN        134     /* Transport endpoint is not connected */
112#define EUCLEAN         135     /* Structure needs cleaning */
113#define ENOTNAM         137     /* Not a XENIX named type file */
114#define ENAVAIL         138     /* No XENIX semaphores available */
115#define EISNAM          139     /* Is a named type file */
116#define EREMOTEIO       140     /* Remote I/O error */
117#define EINIT           141     /* Reserved */
118#define EREMDEV         142     /* Error 142 */
119#define ESHUTDOWN       143     /* Cannot send after transport endpoint shutdown */
120#define ETOOMANYREFS    144     /* Too many references: cannot splice */
121#define ETIMEDOUT       145     /* Connection timed out */
122#define ECONNREFUSED    146     /* Connection refused */
123#define EHOSTDOWN       147     /* Host is down */
124#define EHOSTUNREACH    148     /* No route to host */
125#define EWOULDBLOCK     EAGAIN  /* Operation would block */
126#define EALREADY        149     /* Operation already in progress */
127#define EINPROGRESS     150     /* Operation now in progress */
128#define ESTALE          151     /* Stale NFS file handle */
129#define ECANCELED       158     /* AIO operation canceled */
130/* These errors are Linux extensions.  */
131#define ENOMEDIUM       159     /* No medium found */
132#define EMEDIUMTYPE     160     /* Wrong medium type */
133#define EDQUOT          1133    /* Quota exceeded */
134
135#endif /* _BITS_ERRNO_VALUES_H */
Note: See TracBrowser for help on using the repository browser.