![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 #ifndef _SPARC_ERRNO_H 0003 #define _SPARC_ERRNO_H 0004 0005 /* These match the SunOS error numbering scheme. */ 0006 0007 #include <asm-generic/errno-base.h> 0008 0009 #define EWOULDBLOCK EAGAIN /* Operation would block */ 0010 #define EINPROGRESS 36 /* Operation now in progress */ 0011 #define EALREADY 37 /* Operation already in progress */ 0012 #define ENOTSOCK 38 /* Socket operation on non-socket */ 0013 #define EDESTADDRREQ 39 /* Destination address required */ 0014 #define EMSGSIZE 40 /* Message too long */ 0015 #define EPROTOTYPE 41 /* Protocol wrong type for socket */ 0016 #define ENOPROTOOPT 42 /* Protocol not available */ 0017 #define EPROTONOSUPPORT 43 /* Protocol not supported */ 0018 #define ESOCKTNOSUPPORT 44 /* Socket type not supported */ 0019 #define EOPNOTSUPP 45 /* Op not supported on transport endpoint */ 0020 #define EPFNOSUPPORT 46 /* Protocol family not supported */ 0021 #define EAFNOSUPPORT 47 /* Address family not supported by protocol */ 0022 #define EADDRINUSE 48 /* Address already in use */ 0023 #define EADDRNOTAVAIL 49 /* Cannot assign requested address */ 0024 #define ENETDOWN 50 /* Network is down */ 0025 #define ENETUNREACH 51 /* Network is unreachable */ 0026 #define ENETRESET 52 /* Net dropped connection because of reset */ 0027 #define ECONNABORTED 53 /* Software caused connection abort */ 0028 #define ECONNRESET 54 /* Connection reset by peer */ 0029 #define ENOBUFS 55 /* No buffer space available */ 0030 #define EISCONN 56 /* Transport endpoint is already connected */ 0031 #define ENOTCONN 57 /* Transport endpoint is not connected */ 0032 #define ESHUTDOWN 58 /* No send after transport endpoint shutdown */ 0033 #define ETOOMANYREFS 59 /* Too many references: cannot splice */ 0034 #define ETIMEDOUT 60 /* Connection timed out */ 0035 #define ECONNREFUSED 61 /* Connection refused */ 0036 #define ELOOP 62 /* Too many symbolic links encountered */ 0037 #define ENAMETOOLONG 63 /* File name too long */ 0038 #define EHOSTDOWN 64 /* Host is down */ 0039 #define EHOSTUNREACH 65 /* No route to host */ 0040 #define ENOTEMPTY 66 /* Directory not empty */ 0041 #define EPROCLIM 67 /* SUNOS: Too many processes */ 0042 #define EUSERS 68 /* Too many users */ 0043 #define EDQUOT 69 /* Quota exceeded */ 0044 #define ESTALE 70 /* Stale file handle */ 0045 #define EREMOTE 71 /* Object is remote */ 0046 #define ENOSTR 72 /* Device not a stream */ 0047 #define ETIME 73 /* Timer expired */ 0048 #define ENOSR 74 /* Out of streams resources */ 0049 #define ENOMSG 75 /* No message of desired type */ 0050 #define EBADMSG 76 /* Not a data message */ 0051 #define EIDRM 77 /* Identifier removed */ 0052 #define EDEADLK 78 /* Resource deadlock would occur */ 0053 #define ENOLCK 79 /* No record locks available */ 0054 #define ENONET 80 /* Machine is not on the network */ 0055 #define ERREMOTE 81 /* SunOS: Too many lvls of remote in path */ 0056 #define ENOLINK 82 /* Link has been severed */ 0057 #define EADV 83 /* Advertise error */ 0058 #define ESRMNT 84 /* Srmount error */ 0059 #define ECOMM 85 /* Communication error on send */ 0060 #define EPROTO 86 /* Protocol error */ 0061 #define EMULTIHOP 87 /* Multihop attempted */ 0062 #define EDOTDOT 88 /* RFS specific error */ 0063 #define EREMCHG 89 /* Remote address changed */ 0064 #define ENOSYS 90 /* Function not implemented */ 0065 0066 /* The rest have no SunOS equivalent. */ 0067 #define ESTRPIPE 91 /* Streams pipe error */ 0068 #define EOVERFLOW 92 /* Value too large for defined data type */ 0069 #define EBADFD 93 /* File descriptor in bad state */ 0070 #define ECHRNG 94 /* Channel number out of range */ 0071 #define EL2NSYNC 95 /* Level 2 not synchronized */ 0072 #define EL3HLT 96 /* Level 3 halted */ 0073 #define EL3RST 97 /* Level 3 reset */ 0074 #define ELNRNG 98 /* Link number out of range */ 0075 #define EUNATCH 99 /* Protocol driver not attached */ 0076 #define ENOCSI 100 /* No CSI structure available */ 0077 #define EL2HLT 101 /* Level 2 halted */ 0078 #define EBADE 102 /* Invalid exchange */ 0079 #define EBADR 103 /* Invalid request descriptor */ 0080 #define EXFULL 104 /* Exchange full */ 0081 #define ENOANO 105 /* No anode */ 0082 #define EBADRQC 106 /* Invalid request code */ 0083 #define EBADSLT 107 /* Invalid slot */ 0084 #define EDEADLOCK 108 /* File locking deadlock error */ 0085 #define EBFONT 109 /* Bad font file format */ 0086 #define ELIBEXEC 110 /* Cannot exec a shared library directly */ 0087 #define ENODATA 111 /* No data available */ 0088 #define ELIBBAD 112 /* Accessing a corrupted shared library */ 0089 #define ENOPKG 113 /* Package not installed */ 0090 #define ELIBACC 114 /* Can not access a needed shared library */ 0091 #define ENOTUNIQ 115 /* Name not unique on network */ 0092 #define ERESTART 116 /* Interrupted syscall should be restarted */ 0093 #define EUCLEAN 117 /* Structure needs cleaning */ 0094 #define ENOTNAM 118 /* Not a XENIX named type file */ 0095 #define ENAVAIL 119 /* No XENIX semaphores available */ 0096 #define EISNAM 120 /* Is a named type file */ 0097 #define EREMOTEIO 121 /* Remote I/O error */ 0098 #define EILSEQ 122 /* Illegal byte sequence */ 0099 #define ELIBMAX 123 /* Atmpt to link in too many shared libs */ 0100 #define ELIBSCN 124 /* .lib section in a.out corrupted */ 0101 0102 #define ENOMEDIUM 125 /* No medium found */ 0103 #define EMEDIUMTYPE 126 /* Wrong medium type */ 0104 #define ECANCELED 127 /* Operation Cancelled */ 0105 #define ENOKEY 128 /* Required key not available */ 0106 #define EKEYEXPIRED 129 /* Key has expired */ 0107 #define EKEYREVOKED 130 /* Key has been revoked */ 0108 #define EKEYREJECTED 131 /* Key was rejected by service */ 0109 0110 /* for robust mutexes */ 0111 #define EOWNERDEAD 132 /* Owner died */ 0112 #define ENOTRECOVERABLE 133 /* State not recoverable */ 0113 0114 #define ERFKILL 134 /* Operation not possible due to RF-kill */ 0115 0116 #define EHWPOISON 135 /* Memory page has hardware error */ 0117 0118 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |