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