···11-/* $Id: errno.h,v 1.2 1997/04/15 12:46:11 jj Exp $ */22-#ifndef _SPARC64_ERRNO_H33-#define _SPARC64_ERRNO_H44-55-/* These match the SunOS error numbering scheme. */66-77-#include <asm-generic/errno-base.h>88-99-#define EWOULDBLOCK EAGAIN /* Operation would block */1010-#define EINPROGRESS 36 /* Operation now in progress */1111-#define EALREADY 37 /* Operation already in progress */1212-#define ENOTSOCK 38 /* Socket operation on non-socket */1313-#define EDESTADDRREQ 39 /* Destination address required */1414-#define EMSGSIZE 40 /* Message too long */1515-#define EPROTOTYPE 41 /* Protocol wrong type for socket */1616-#define ENOPROTOOPT 42 /* Protocol not available */1717-#define EPROTONOSUPPORT 43 /* Protocol not supported */1818-#define ESOCKTNOSUPPORT 44 /* Socket type not supported */1919-#define EOPNOTSUPP 45 /* Op not supported on transport endpoint */2020-#define EPFNOSUPPORT 46 /* Protocol family not supported */2121-#define EAFNOSUPPORT 47 /* Address family not supported by protocol */2222-#define EADDRINUSE 48 /* Address already in use */2323-#define EADDRNOTAVAIL 49 /* Cannot assign requested address */2424-#define ENETDOWN 50 /* Network is down */2525-#define ENETUNREACH 51 /* Network is unreachable */2626-#define ENETRESET 52 /* Net dropped connection because of reset */2727-#define ECONNABORTED 53 /* Software caused connection abort */2828-#define ECONNRESET 54 /* Connection reset by peer */2929-#define ENOBUFS 55 /* No buffer space available */3030-#define EISCONN 56 /* Transport endpoint is already connected */3131-#define ENOTCONN 57 /* Transport endpoint is not connected */3232-#define ESHUTDOWN 58 /* No send after transport endpoint shutdown */3333-#define ETOOMANYREFS 59 /* Too many references: cannot splice */3434-#define ETIMEDOUT 60 /* Connection timed out */3535-#define ECONNREFUSED 61 /* Connection refused */3636-#define ELOOP 62 /* Too many symbolic links encountered */3737-#define ENAMETOOLONG 63 /* File name too long */3838-#define EHOSTDOWN 64 /* Host is down */3939-#define EHOSTUNREACH 65 /* No route to host */4040-#define ENOTEMPTY 66 /* Directory not empty */4141-#define EPROCLIM 67 /* SUNOS: Too many processes */4242-#define EUSERS 68 /* Too many users */4343-#define EDQUOT 69 /* Quota exceeded */4444-#define ESTALE 70 /* Stale NFS file handle */4545-#define EREMOTE 71 /* Object is remote */4646-#define ENOSTR 72 /* Device not a stream */4747-#define ETIME 73 /* Timer expired */4848-#define ENOSR 74 /* Out of streams resources */4949-#define ENOMSG 75 /* No message of desired type */5050-#define EBADMSG 76 /* Not a data message */5151-#define EIDRM 77 /* Identifier removed */5252-#define EDEADLK 78 /* Resource deadlock would occur */5353-#define ENOLCK 79 /* No record locks available */5454-#define ENONET 80 /* Machine is not on the network */5555-#define ERREMOTE 81 /* SunOS: Too many lvls of remote in path */5656-#define ENOLINK 82 /* Link has been severed */5757-#define EADV 83 /* Advertise error */5858-#define ESRMNT 84 /* Srmount error */5959-#define ECOMM 85 /* Communication error on send */6060-#define EPROTO 86 /* Protocol error */6161-#define EMULTIHOP 87 /* Multihop attempted */6262-#define EDOTDOT 88 /* RFS specific error */6363-#define EREMCHG 89 /* Remote address changed */6464-#define ENOSYS 90 /* Function not implemented */6565-6666-/* The rest have no SunOS equivalent. */6767-#define ESTRPIPE 91 /* Streams pipe error */6868-#define EOVERFLOW 92 /* Value too large for defined data type */6969-#define EBADFD 93 /* File descriptor in bad state */7070-#define ECHRNG 94 /* Channel number out of range */7171-#define EL2NSYNC 95 /* Level 2 not synchronized */7272-#define EL3HLT 96 /* Level 3 halted */7373-#define EL3RST 97 /* Level 3 reset */7474-#define ELNRNG 98 /* Link number out of range */7575-#define EUNATCH 99 /* Protocol driver not attached */7676-#define ENOCSI 100 /* No CSI structure available */7777-#define EL2HLT 101 /* Level 2 halted */7878-#define EBADE 102 /* Invalid exchange */7979-#define EBADR 103 /* Invalid request descriptor */8080-#define EXFULL 104 /* Exchange full */8181-#define ENOANO 105 /* No anode */8282-#define EBADRQC 106 /* Invalid request code */8383-#define EBADSLT 107 /* Invalid slot */8484-#define EDEADLOCK 108 /* File locking deadlock error */8585-#define EBFONT 109 /* Bad font file format */8686-#define ELIBEXEC 110 /* Cannot exec a shared library directly */8787-#define ENODATA 111 /* No data available */8888-#define ELIBBAD 112 /* Accessing a corrupted shared library */8989-#define ENOPKG 113 /* Package not installed */9090-#define ELIBACC 114 /* Can not access a needed shared library */9191-#define ENOTUNIQ 115 /* Name not unique on network */9292-#define ERESTART 116 /* Interrupted syscall should be restarted */9393-#define EUCLEAN 117 /* Structure needs cleaning */9494-#define ENOTNAM 118 /* Not a XENIX named type file */9595-#define ENAVAIL 119 /* No XENIX semaphores available */9696-#define EISNAM 120 /* Is a named type file */9797-#define EREMOTEIO 121 /* Remote I/O error */9898-#define EILSEQ 122 /* Illegal byte sequence */9999-#define ELIBMAX 123 /* Atmpt to link in too many shared libs */100100-#define ELIBSCN 124 /* .lib section in a.out corrupted */101101-102102-#define ENOMEDIUM 125 /* No medium found */103103-#define EMEDIUMTYPE 126 /* Wrong medium type */104104-#define ECANCELED 127 /* Operation Cancelled */105105-#define ENOKEY 128 /* Required key not available */106106-#define EKEYEXPIRED 129 /* Key has expired */107107-#define EKEYREVOKED 130 /* Key has been revoked */108108-#define EKEYREJECTED 131 /* Key was rejected by service */109109-110110-/* for robust mutexes */111111-#define EOWNERDEAD 132 /* Owner died */112112-#define ENOTRECOVERABLE 133 /* State not recoverable */113113-114114-#endif /* !(_SPARC64_ERRNO_H) */11+#include <asm-sparc/errno.h>