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