1 /* $OpenBSD: osf1_errno.h,v 1.1 2000/08/04 15:47:54 ericj Exp $ */
2 /* $NetBSD: osf1_errno.h,v 1.2 1999/04/23 18:00:34 cgd Exp $ */
3
4 /*
5 * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in the
14 * documentation and/or other materials provided with the distribution.
15 * 3. All advertising materials mentioning features or use of this software
16 * must display the following acknowledgement:
17 * This product includes software developed by Christopher G. Demetriou
18 * for the NetBSD Project.
19 * 4. The name of the author may not be used to endorse or promote products
20 * derived from this software without specific prior written permission
21 *
22 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33
34 /*
35 * OSF/1 error number definitions, as described by the Digital UNIX V4.0
36 * <sys/errno.h>.
37 */
38
39 #ifndef _COMPAT_OSF1_OSF1_ERRNO_H_
40 #define _COMPAT_OSF1_OSF1_ERRNO_H_
41
42 #define OSF1_ESUCCESS 0
43 #define OSF1_EPERM 1
44 #define OSF1_ENOENT 2
45 #define OSF1_ESRCH 3
46 #define OSF1_EINTR 4
47 #define OSF1_EIO 5
48 #define OSF1_ENXIO 6
49 #define OSF1_E2BIG 7
50 #define OSF1_ENOEXEC 8
51 #define OSF1_EBADF 9
52 #define OSF1_ECHILD 10
53 #define OSF1_EDEADLK 11
54 #define OSF1_ENOMEM 12
55 #define OSF1_EACCES 13
56 #define OSF1_EFAULT 14
57 #define OSF1_ENOTBLK 15
58 #define OSF1_EBUSY 16
59 #define OSF1_EEXIST 17
60 #define OSF1_EXDEV 18
61 #define OSF1_ENODEV 19
62 #define OSF1_ENOTDIR 20
63 #define OSF1_EISDIR 21
64 #define OSF1_EINVAL 22
65 #define OSF1_ENFILE 23
66 #define OSF1_EMFILE 24
67 #define OSF1_ENOTTY 25
68 #define OSF1_ETXTBSY 26
69 #define OSF1_EFBIG 27
70 #define OSF1_ENOSPC 28
71 #define OSF1_ESPIPE 29
72 #define OSF1_EROFS 30
73 #define OSF1_EMLINK 31
74 #define OSF1_EPIPE 32
75 #define OSF1_EDOM 33
76 #define OSF1_ERANGE 34
77 #define OSF1_EWOULDBLOCK 35
78 #define OSF1_EINPROGRESS 36
79 #define OSF1_EALREADY 37
80 #define OSF1_ENOTSOCK 38
81 #define OSF1_EDESTADDRREQ 39
82 #define OSF1_EMSGSIZE 40
83 #define OSF1_EPROTOTYPE 41
84 #define OSF1_ENOPROTOOPT 42
85 #define OSF1_EPROTONOSUPPORT 43
86 #define OSF1_ESOCKTNOSUPPORT 44
87 #define OSF1_EOPNOTSUPP 45
88 #define OSF1_EPFNOSUPPORT 46
89 #define OSF1_EAFNOSUPPORT 47
90 #define OSF1_EADDRINUSE 48
91 #define OSF1_EADDRNOTAVAIL 49
92 #define OSF1_ENETDOWN 50
93 #define OSF1_ENETUNREACH 51
94 #define OSF1_ENETRESET 52
95 #define OSF1_ECONNABORTED 53
96 #define OSF1_ECONNRESET 54
97 #define OSF1_ENOBUFS 55
98 #define OSF1_EISCONN 56
99 #define OSF1_ENOTCONN 57
100 #define OSF1_ESHUTDOWN 58
101 #define OSF1_ETOOMANYREFS 59
102 #define OSF1_ETIMEDOUT 60
103 #define OSF1_ECONNREFUSED 61
104 #define OSF1_ELOOP 62
105 #define OSF1_ENAMETOOLONG 63
106 #define OSF1_EHOSTDOWN 64
107 #define OSF1_EHOSTUNREACH 65
108 #define OSF1_ENOTEMPTY 66
109 #define OSF1_EPROCLIM 67
110 #define OSF1_EUSERS 68
111 #define OSF1_EDQUOT 69
112 #define OSF1_ESTALE 70
113 #define OSF1_EREMOTE 71
114 #define OSF1_EBADRPC 72
115 #define OSF1_ERPCMISMATCH 73
116 #define OSF1_EPROGUNAVAIL 74
117 #define OSF1_EPROGMISMATCH 75
118 #define OSF1_EPROCUNAVAIL 76
119 #define OSF1_ENOLCK 77
120 #define OSF1_ENOSYS 78
121 #define OSF1_EFTYPE 79
122 #define OSF1_ENOMSG 80
123 #define OSF1_EIDRM 81
124 #define OSF1_ENOSR 82
125 #define OSF1_ETIME 83
126 #define OSF1_EBADMSG 84
127 #define OSF1_EPROTO 85
128 #define OSF1_ENODATA 86
129 #define OSF1_ENOSTR 87
130 #define OSF1_ECLONEME 88
131 #define OSF1_EDIRTY 89
132 #define OSF1_EDUPPKG 90
133 #define OSF1_EVERSION 91
134 #define OSF1_ENOPKG 92
135 #define OSF1_ENOSYM 93
136 #define OSF1_ECANCELED 94
137 #define OSF1_EFAIL 95
138 #define OSF1_EINPROG 97
139 #define OSF1_EMTIMERS 98
140 #define OSF1_ENOTSUP 99
141 #define OSF1_EAIO 100
142 #define OSF1_EMULTIHOP 101
143 #define OSF1_ENOLINK 102
144 #define OSF1_EOVERFLOW 103
145 #define OSF1_EILSEQ 116
146 #define OSF1_ESOFT 123
147 #define OSF1_EMEDIA 124
148
149 #endif /* _COMPAT_OSF1_OSF1_ERRNO_H_ */