OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [include/] [asm-mips/] [errno.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.