1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35 #ifndef _IBCS2_ERRNO_H
36 #define _IBCS2_ERRNO_H
37
38 #define _SCO_NET 1
39
40 #define IBCS2_EPERM 1
41 #define IBCS2_ENOENT 2
42 #define IBCS2_ESRCH 3
43 #define IBCS2_EINTR 4
44 #define IBCS2_EIO 5
45 #define IBCS2_ENXIO 6
46 #define IBCS2_E2BIG 7
47 #define IBCS2_ENOEXEC 8
48 #define IBCS2_EBADF 9
49 #define IBCS2_ECHILD 10
50 #define IBCS2_EAGAIN 11
51 #define IBCS2_ENOMEM 12
52 #define IBCS2_EACCES 13
53 #define IBCS2_EFAULT 14
54 #define IBCS2_ENOTBLK 15
55 #define IBCS2_EBUSY 16
56 #define IBCS2_EEXIST 17
57 #define IBCS2_EXDEV 18
58 #define IBCS2_ENODEV 19
59 #define IBCS2_ENOTDIR 20
60 #define IBCS2_EISDIR 21
61 #define IBCS2_EINVAL 22
62 #define IBCS2_ENFILE 23
63 #define IBCS2_EMFILE 24
64 #define IBCS2_ENOTTY 25
65 #define IBCS2_ETXTBSY 26
66 #define IBCS2_EFBIG 27
67 #define IBCS2_ENOSPC 28
68 #define IBCS2_ESPIPE 29
69 #define IBCS2_EROFS 30
70 #define IBCS2_EMLINK 31
71 #define IBCS2_EPIPE 32
72 #define IBCS2_EDOM 33
73 #define IBCS2_ERANGE 34
74 #define IBCS2_ENOMSG 35
75 #define IBCS2_EIDRM 36
76 #define IBCS2_ECHRNG 37
77 #define IBCS2_EL2NSYNC 38
78 #define IBCS2_EL3HLT 39
79 #define IBCS2_EL3RST 40
80 #define IBCS2_ELNRNG 41
81 #define IBCS2_EUNATCH 42
82 #define IBCS2_ENOCSI 43
83 #define IBCS2_EL2HLT 44
84 #define IBCS2_EDEADLK 45
85 #define IBCS2_ENOLCK 46
86 #define IBCS2_ENOSTR 60
87 #define IBCS2_ENODATA 61
88 #define IBCS2_ETIME 62
89 #define IBCS2_ENOSR 63
90 #define IBCS2_ENONET 64
91 #define IBCS2_ENOPKG 65
92 #define IBCS2_EREMOTE 66
93 #define IBCS2_ENOLINK 67
94 #define IBCS2_EADV 68
95 #define IBCS2_ESRMNT 69
96 #define IBCS2_ECOMM 70
97 #define IBCS2_EPROTO 71
98 #define IBCS2_EMULTIHOP 74
99 #define IBCS2_ELBIN 75
100 #define IBCS2_EDOTDOT 76
101 #define IBCS2_EBADMSG 77
102 #define IBCS2_ENAMETOOLONG 78
103 #define IBCS2_EOVERFLOW 79
104 #define IBCS2_ENOTUNIQ 80
105 #define IBCS2_EBADFD 81
106 #define IBCS2_EREMCHG 82
107 #define IBCS2_EILSEQ 88
108 #define IBCS2_ENOSYS 89
109
110 #if defined(_SCO_NET)
111 #define IBCS2_EWOULDBLOCK 90
112 #define IBCS2_EINPROGRESS 91
113 #define IBCS2_EALREADY 92
114 #define IBCS2_ENOTSOCK 93
115 #define IBCS2_EDESTADDRREQ 94
116 #define IBCS2_EMSGSIZE 95
117 #define IBCS2_EPROTOTYPE 96
118 #define IBCS2_EPROTONOSUPPORT 97
119 #define IBCS2_ESOCKTNOSUPPORT 98
120 #define IBCS2_EOPNOTSUPP 99
121 #define IBCS2_EPFNOSUPPORT 100
122 #define IBCS2_EAFNOSUPPORT 101
123 #define IBCS2_EADDRINUSE 102
124 #define IBCS2_EADDRNOTAVAIL 103
125 #define IBCS2_ENETDOWN 104
126 #define IBCS2_ENETUNREACH 105
127 #define IBCS2_ENETRESET 106
128 #define IBCS2_ECONNABORTED 107
129 #define IBCS2_ECONNRESET 108
130 #define IBCS2_ENOBUFS IBCS2_ENOSR
131 #define IBCS2_EISCONN 110
132 #define IBCS2_ENOTCONN 111
133 #define IBCS2_ESHUTDOWN 112
134 #define IBCS2_ETOOMANYREFS 113
135 #define IBCS2_ETIMEDOUT 114
136 #define IBCS2_ECONNREFUSED 115
137 #define IBCS2_EHOSTDOWN 116
138 #define IBCS2_EHOSTUNREACH 117
139 #define IBCS2_ENOPROTOOPT 118
140 #define IBCS2_ENOTEMPTY 145
141 #define IBCS2_ELOOP 150
142 #else
143 #define IBCS2_ELOOP 90
144 #define IBCS2_EWOULDBLOCK 90
145 #define IBCS2_ERESTART 91
146 #define IBCS2_ESTRPIPE 92
147 #define IBCS2_ENOTEMPTY 93
148 #define IBCS2_EUSERS 94
149 #endif
150
151 #define IBCS2_ESTALE 151
152 #define IBCS2_EIORESID 500
153
154 extern int bsd2ibcs_errno[];
155
156 #endif