Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 #ifndef _PARISC_ERRNO_H
0003 #define _PARISC_ERRNO_H
0004 
0005 #include <asm-generic/errno-base.h>
0006 
0007 #define ENOMSG      35  /* No message of desired type */
0008 #define EIDRM       36  /* Identifier removed */
0009 #define ECHRNG      37  /* Channel number out of range */
0010 #define EL2NSYNC    38  /* Level 2 not synchronized */
0011 #define EL3HLT      39  /* Level 3 halted */
0012 #define EL3RST      40  /* Level 3 reset */
0013 #define ELNRNG      41  /* Link number out of range */
0014 #define EUNATCH     42  /* Protocol driver not attached */
0015 #define ENOCSI      43  /* No CSI structure available */
0016 #define EL2HLT      44  /* Level 2 halted */
0017 #define EDEADLK     45  /* Resource deadlock would occur */
0018 #define EDEADLOCK   EDEADLK
0019 #define ENOLCK      46  /* No record locks available */
0020 #define EILSEQ      47  /* Illegal byte sequence */
0021 
0022 #define ENONET      50  /* Machine is not on the network */
0023 #define ENODATA     51  /* No data available */
0024 #define ETIME       52  /* Timer expired */
0025 #define ENOSR       53  /* Out of streams resources */
0026 #define ENOSTR      54  /* Device not a stream */
0027 #define ENOPKG      55  /* Package not installed */
0028 
0029 #define ENOLINK     57  /* Link has been severed */
0030 #define EADV        58  /* Advertise error */
0031 #define ESRMNT      59  /* Srmount error */
0032 #define ECOMM       60  /* Communication error on send */
0033 #define EPROTO      61  /* Protocol error */
0034 
0035 #define EMULTIHOP   64  /* Multihop attempted */
0036 
0037 #define EDOTDOT     66  /* RFS specific error */
0038 #define EBADMSG     67  /* Not a data message */
0039 #define EUSERS      68  /* Too many users */
0040 #define EDQUOT      69  /* Quota exceeded */
0041 #define ESTALE      70  /* Stale file handle */
0042 #define EREMOTE     71  /* Object is remote */
0043 #define EOVERFLOW   72  /* Value too large for defined data type */
0044 
0045 /* these errnos are defined by Linux but not HPUX. */
0046 
0047 #define EBADE       160 /* Invalid exchange */
0048 #define EBADR       161 /* Invalid request descriptor */
0049 #define EXFULL      162 /* Exchange full */
0050 #define ENOANO      163 /* No anode */
0051 #define EBADRQC     164 /* Invalid request code */
0052 #define EBADSLT     165 /* Invalid slot */
0053 #define EBFONT      166 /* Bad font file format */
0054 #define ENOTUNIQ    167 /* Name not unique on network */
0055 #define EBADFD      168 /* File descriptor in bad state */
0056 #define EREMCHG     169 /* Remote address changed */
0057 #define ELIBACC     170 /* Can not access a needed shared library */
0058 #define ELIBBAD     171 /* Accessing a corrupted shared library */
0059 #define ELIBSCN     172 /* .lib section in a.out corrupted */
0060 #define ELIBMAX     173 /* Attempting to link in too many shared libraries */
0061 #define ELIBEXEC    174 /* Cannot exec a shared library directly */
0062 #define ERESTART    175 /* Interrupted system call should be restarted */
0063 #define ESTRPIPE    176 /* Streams pipe error */
0064 #define EUCLEAN     177 /* Structure needs cleaning */
0065 #define ENOTNAM     178 /* Not a XENIX named type file */
0066 #define ENAVAIL     179 /* No XENIX semaphores available */
0067 #define EISNAM      180 /* Is a named type file */
0068 #define EREMOTEIO   181 /* Remote I/O error */
0069 #define ENOMEDIUM   182 /* No medium found */
0070 #define EMEDIUMTYPE 183 /* Wrong medium type */
0071 #define ENOKEY      184 /* Required key not available */
0072 #define EKEYEXPIRED 185 /* Key has expired */
0073 #define EKEYREVOKED 186 /* Key has been revoked */
0074 #define EKEYREJECTED    187 /* Key was rejected by service */
0075 
0076 /* We now return you to your regularly scheduled HPUX. */
0077 
0078 #define ENOSYM      215 /* symbol does not exist in executable */
0079 #define ENOTSOCK    216 /* Socket operation on non-socket */
0080 #define EDESTADDRREQ    217 /* Destination address required */
0081 #define EMSGSIZE    218 /* Message too long */
0082 #define EPROTOTYPE  219 /* Protocol wrong type for socket */
0083 #define ENOPROTOOPT 220 /* Protocol not available */
0084 #define EPROTONOSUPPORT 221 /* Protocol not supported */
0085 #define ESOCKTNOSUPPORT 222 /* Socket type not supported */
0086 #define EOPNOTSUPP  223 /* Operation not supported on transport endpoint */
0087 #define EPFNOSUPPORT    224 /* Protocol family not supported */
0088 #define EAFNOSUPPORT    225 /* Address family not supported by protocol */
0089 #define EADDRINUSE  226 /* Address already in use */
0090 #define EADDRNOTAVAIL   227 /* Cannot assign requested address */
0091 #define ENETDOWN    228 /* Network is down */
0092 #define ENETUNREACH 229 /* Network is unreachable */
0093 #define ENETRESET   230 /* Network dropped connection because of reset */
0094 #define ECONNABORTED    231 /* Software caused connection abort */
0095 #define ECONNRESET  232 /* Connection reset by peer */
0096 #define ENOBUFS     233 /* No buffer space available */
0097 #define EISCONN     234 /* Transport endpoint is already connected */
0098 #define ENOTCONN    235 /* Transport endpoint is not connected */
0099 #define ESHUTDOWN   236 /* Cannot send after transport endpoint shutdown */
0100 #define ETOOMANYREFS    237 /* Too many references: cannot splice */
0101 #define ETIMEDOUT   238 /* Connection timed out */
0102 #define ECONNREFUSED    239 /* Connection refused */
0103 #define EREFUSED    ECONNREFUSED    /* for HP's NFS apparently */
0104 #define EREMOTERELEASE  240 /* Remote peer released connection */
0105 #define EHOSTDOWN   241 /* Host is down */
0106 #define EHOSTUNREACH    242 /* No route to host */
0107 
0108 #define EALREADY    244 /* Operation already in progress */
0109 #define EINPROGRESS 245 /* Operation now in progress */
0110 #define EWOULDBLOCK EAGAIN  /* Operation would block (Not HPUX compliant) */
0111 #define ENOTEMPTY   247 /* Directory not empty */
0112 #define ENAMETOOLONG    248 /* File name too long */
0113 #define ELOOP       249 /* Too many symbolic links encountered */
0114 #define ENOSYS      251 /* Function not implemented */
0115 
0116 #define ECANCELLED  253 /* aio request was canceled before complete (POSIX.4 / HPUX) */
0117 #define ECANCELED   ECANCELLED  /* SuSv3 and Solaris wants one 'L' */
0118 
0119 /* for robust mutexes */
0120 #define EOWNERDEAD  254 /* Owner died */
0121 #define ENOTRECOVERABLE 255 /* State not recoverable */
0122 
0123 #define ERFKILL     256 /* Operation not possible due to RF-kill */
0124 
0125 #define EHWPOISON   257 /* Memory page has hardware error */
0126 
0127 #endif