Annotation of sys/compat/svr4/svr4_errno.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: svr4_errno.h,v 1.3 2000/08/23 16:36:06 brad Exp $ */
! 2: /* $NetBSD: svr4_errno.h,v 1.5 1998/10/24 19:35:36 mrg Exp $ */
! 3:
! 4: /*
! 5: * Copyright (c) 1994 Christos Zoulas
! 6: * All rights reserved.
! 7: *
! 8: * Redistribution and use in source and binary forms, with or without
! 9: * modification, are permitted provided that the following conditions
! 10: * are met:
! 11: * 1. Redistributions of source code must retain the above copyright
! 12: * notice, this list of conditions and the following disclaimer.
! 13: * 2. Redistributions in binary form must reproduce the above copyright
! 14: * notice, this list of conditions and the following disclaimer in the
! 15: * documentation and/or other materials provided with the distribution.
! 16: * 3. The name of the author may not be used to endorse or promote products
! 17: * derived from this software without specific prior written permission
! 18: *
! 19: * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
! 20: * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
! 21: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
! 22: * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
! 23: * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
! 24: * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
! 25: * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
! 26: * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
! 27: * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
! 28: * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
! 29: */
! 30:
! 31: #ifndef _SVR4_ERRNO_H_
! 32: #define _SVR4_ERRNO_H_
! 33:
! 34: #define SVR4_EPERM 1
! 35: #define SVR4_ENOENT 2
! 36: #define SVR4_ESRCH 3
! 37: #define SVR4_EINTR 4
! 38: #define SVR4_EIO 5
! 39: #define SVR4_ENXIO 6
! 40: #define SVR4_E2BIG 7
! 41: #define SVR4_ENOEXEC 8
! 42: #define SVR4_EBADF 9
! 43: #define SVR4_ECHILD 10
! 44: #define SVR4_EAGAIN 11
! 45: #define SVR4_ENOMEM 12
! 46: #define SVR4_EACCES 13
! 47: #define SVR4_EFAULT 14
! 48: #define SVR4_ENOTBLK 15
! 49: #define SVR4_EBUSY 16
! 50: #define SVR4_EEXIST 17
! 51: #define SVR4_EXDEV 18
! 52: #define SVR4_ENODEV 19
! 53: #define SVR4_ENOTDIR 20
! 54: #define SVR4_EISDIR 21
! 55: #define SVR4_EINVAL 22
! 56: #define SVR4_ENFILE 23
! 57: #define SVR4_EMFILE 24
! 58: #define SVR4_ENOTTY 25
! 59: #define SVR4_ETXTBSY 26
! 60: #define SVR4_EFBIG 27
! 61: #define SVR4_ENOSPC 28
! 62: #define SVR4_ESPIPE 29
! 63: #define SVR4_EROFS 30
! 64: #define SVR4_EMLINK 31
! 65: #define SVR4_EPIPE 32
! 66: #define SVR4_EDOM 33
! 67: #define SVR4_ERANGE 34
! 68: #define SVR4_ENOMSG 35
! 69: #define SVR4_EIDRM 36
! 70: #define SVR4_ECHRNG 37
! 71: #define SVR4_EL2NSYNC 38
! 72: #define SVR4_EL3HLT 39
! 73: #define SVR4_EL3RST 40
! 74: #define SVR4_ELNRNG 41
! 75: #define SVR4_EUNATCH 42
! 76: #define SVR4_ENOCSI 43
! 77: #define SVR4_EL2HLT 44
! 78: #define SVR4_EDEADLK 45
! 79: #define SVR4_ENOLCK 46
! 80: #define SVR4_EBADE 50
! 81: #define SVR4_EBADR 51
! 82: #define SVR4_EXFULL 52
! 83: #define SVR4_ENOANO 53
! 84: #define SVR4_EBADRQC 54
! 85: #define SVR4_EBADSLT 55
! 86: #define SVR4_EDEADLOCK 56
! 87: #define SVR4_EBFONT 57
! 88: #define SVR4_ENOSTR 60
! 89: #define SVR4_ENODATA 61
! 90: #define SVR4_ETIME 62
! 91: #define SVR4_ENOSR 63
! 92: #define SVR4_ENONET 64
! 93: #define SVR4_ENOPKG 65
! 94: #define SVR4_EREMOTE 66
! 95: #define SVR4_ENOLINK 67
! 96: #define SVR4_EADV 68
! 97: #define SVR4_ESRMNT 69
! 98: #define SVR4_ECOMM 70
! 99: #define SVR4_EPROTO 71
! 100: #define SVR4_EMULTIHOP 74
! 101: #define SVR4_EBADMSG 77
! 102: #define SVR4_ENAMETOOLONG 78
! 103: #define SVR4_EOVERFLOW 79
! 104: #define SVR4_ENOTUNIQ 80
! 105: #define SVR4_EBADFD 81
! 106: #define SVR4_EREMCHG 82
! 107: #define SVR4_ELIBACC 83
! 108: #define SVR4_ELIBBAD 84
! 109: #define SVR4_ELIBSCN 85
! 110: #define SVR4_ELIBMAX 86
! 111: #define SVR4_ELIBEXEC 87
! 112: #define SVR4_EILSEQ 88
! 113: #define SVR4_ENOSYS 89
! 114: #define SVR4_ELOOP 90
! 115: #define SVR4_ERESTART 91
! 116: #define SVR4_ESTRPIPE 92
! 117: #define SVR4_ENOTEMPTY 93
! 118: #define SVR4_EUSERS 94
! 119: #define SVR4_ENOTSOCK 95
! 120: #define SVR4_EDESTADDRREQ 96
! 121: #define SVR4_EMSGSIZE 97
! 122: #define SVR4_EPROTOTYPE 98
! 123: #define SVR4_ENOPROTOOPT 99
! 124: #define SVR4_EPROTONOSUPPORT 120
! 125: #define SVR4_ESOCKTNOSUPPORT 121
! 126: #define SVR4_EOPNOTSUPP 122
! 127: #define SVR4_EPFNOSUPPORT 123
! 128: #define SVR4_EAFNOSUPPORT 124
! 129: #define SVR4_EADDRINUSE 125
! 130: #define SVR4_EADDRNOTAVAIL 126
! 131: #define SVR4_ENETDOWN 127
! 132: #define SVR4_ENETUNREACH 128
! 133: #define SVR4_ENETRESET 129
! 134: #define SVR4_ECONNABORTED 130
! 135: #define SVR4_ECONNRESET 131
! 136: #define SVR4_ENOBUFS 132
! 137: #define SVR4_EISCONN 133
! 138: #define SVR4_ENOTCONN 134
! 139: #define SVR4_EUCLEAN 135
! 140: #define SVR4_ENOTNAM 137
! 141: #define SVR4_ENAVAIL 138
! 142: #define SVR4_EISNAM 139
! 143: #define SVR4_EREMOTEIO 140
! 144: #define SVR4_EINIT 141
! 145: #define SVR4_EREMDEV 142
! 146: #define SVR4_ESHUTDOWN 143
! 147: #define SVR4_ETOOMANYREFS 144
! 148: #define SVR4_ETIMEDOUT 145
! 149: #define SVR4_ECONNREFUSED 146
! 150: #define SVR4_EHOSTDOWN 147
! 151: #define SVR4_EHOSTUNREACH 148
! 152: #define SVR4_EWOULDBLOCK SVR4_EAGAIN
! 153: #define SVR4_EALREADY 149
! 154: #define SVR4_EINPROGRESS 150
! 155: #define SVR4_ESTALE 151
! 156: #define SVR4_EIORESID 500
! 157:
! 158: /*
! 159: * These ones are not translated...
! 160: */
! 161: #define SVR4_EPROCLIM SVR4_ENOSYS
! 162: #define SVR4_EDQUOT SVR4_ENOSYS
! 163: #define SVR4_EBADRPC SVR4_ENOSYS
! 164: #define SVR4_ERPCMISMATCH SVR4_ENOSYS
! 165: #define SVR4_EPROGUNAVAIL SVR4_ENOSYS
! 166: #define SVR4_EPROGMISMATCH SVR4_ENOSYS
! 167: #define SVR4_EPROCUNAVAIL SVR4_ENOSYS
! 168: #define SVR4_EFTYPE SVR4_ENOSYS
! 169: #define SVR4_EAUTH SVR4_ENOSYS
! 170: #define SVR4_ENEEDAUTH SVR4_ENOSYS
! 171:
! 172: extern int native_to_svr4_errno[];
! 173:
! 174: #endif /* !_SVR4_ERRNO_H_ */
CVSweb