Bump S-nail v14.9.25.ar ("Lubimy Gorod"), 2024-06-27
[s-mailx.git] / src / su / gen-errors.h
blob812be3359c70dca08fe6090d3f613e81fe3c66d0
1 /*@ gen-errors.h, generated by su-make-errors.sh.
2 *@ See core-errors.c for more */
4 #ifdef su_SOURCE
5 static char const a_corerr_names[] = {
6 'N','O','N','E','\0',
7 '2','B','I','G','\0',
8 'A','C','C','E','S','\0',
9 'A','D','D','R','I','N','U','S','E','\0',
10 'A','D','D','R','N','O','T','A','V','A','I','L','\0',
11 'A','F','N','O','S','U','P','P','O','R','T','\0',
12 'A','G','A','I','N','\0',
13 'A','L','R','E','A','D','Y','\0',
14 'B','A','D','F','\0',
15 'B','A','D','M','S','G','\0',
16 'B','U','S','Y','\0',
17 'C','A','N','C','E','L','E','D','\0',
18 'C','H','I','L','D','\0',
19 'C','O','N','N','A','B','O','R','T','E','D','\0',
20 'C','O','N','N','R','E','F','U','S','E','D','\0',
21 'C','O','N','N','R','E','S','E','T','\0',
22 'D','E','A','D','L','K','\0',
23 'D','E','S','T','A','D','D','R','R','E','Q','\0',
24 'D','O','M','\0',
25 'D','Q','U','O','T','\0',
26 'E','X','I','S','T','\0',
27 'F','A','U','L','T','\0',
28 'F','B','I','G','\0',
29 'H','O','S','T','U','N','R','E','A','C','H','\0',
30 'I','D','R','M','\0',
31 'I','L','S','E','Q','\0',
32 'I','N','P','R','O','G','R','E','S','S','\0',
33 'I','N','T','R','\0',
34 'I','N','V','A','L','\0',
35 'I','O','\0',
36 'I','S','C','O','N','N','\0',
37 'I','S','D','I','R','\0',
38 'L','O','O','P','\0',
39 'M','F','I','L','E','\0',
40 'M','L','I','N','K','\0',
41 'M','S','G','S','I','Z','E','\0',
42 'M','U','L','T','I','H','O','P','\0',
43 'N','A','M','E','T','O','O','L','O','N','G','\0',
44 'N','E','T','D','O','W','N','\0',
45 'N','E','T','R','E','S','E','T','\0',
46 'N','E','T','U','N','R','E','A','C','H','\0',
47 'N','F','I','L','E','\0',
48 'N','O','B','U','F','S','\0',
49 'N','O','D','A','T','A','\0',
50 'N','O','D','E','V','\0',
51 'N','O','E','N','T','\0',
52 'N','O','E','X','E','C','\0',
53 'N','O','L','C','K','\0',
54 'N','O','L','I','N','K','\0',
55 'N','O','M','E','M','\0',
56 'N','O','M','S','G','\0',
57 'N','O','P','R','O','T','O','O','P','T','\0',
58 'N','O','S','P','C','\0',
59 'N','O','S','R','\0',
60 'N','O','S','T','R','\0',
61 'N','O','S','Y','S','\0',
62 'N','O','T','C','O','N','N','\0',
63 'N','O','T','D','I','R','\0',
64 'N','O','T','E','M','P','T','Y','\0',
65 'N','O','T','O','B','A','C','C','O','\0',
66 'N','O','T','S','O','C','K','\0',
67 'N','O','T','S','U','P','\0',
68 'N','O','T','T','Y','\0',
69 'N','X','I','O','\0',
70 'O','P','N','O','T','S','U','P','P','\0',
71 'O','V','E','R','F','L','O','W','\0',
72 'P','E','R','M','\0',
73 'P','I','P','E','\0',
74 'P','R','O','T','O','\0',
75 'P','R','O','T','O','N','O','S','U','P','P','O','R','T','\0',
76 'P','R','O','T','O','T','Y','P','E','\0',
77 'R','A','N','G','E','\0',
78 'R','O','F','S','\0',
79 'S','P','I','P','E','\0',
80 'S','R','C','H','\0',
81 'S','T','A','L','E','\0',
82 'T','I','M','E','\0',
83 'T','I','M','E','D','O','U','T','\0',
84 'T','X','T','B','S','Y','\0',
85 'W','O','U','L','D','B','L','O','C','K','\0',
86 'X','D','E','V','\0',
89 # ifdef su_HAVE_DOCSTRINGS
90 # undef a_X
91 # define a_X(X)
92 static char const a_corerr_docs[] = {
93 'N','o',' ','e','r','r','o','r','\0',
94 'A','r','g','u','m','e','n','t',' ','l','i','s','t',' ','t','o','o',' ','l','o','n','g','\0',
95 'P','e','r','m','i','s','s','i','o','n',' ','d','e','n','i','e','d','\0',
96 'A','d','d','r','e','s','s',' ','a','l','r','e','a','d','y',' ','i','n',' ','u','s','e','\0',
97 'C','a','n','n','o','t',' ','a','s','s','i','g','n',' ','r','e','q','u','e','s','t','e','d',' ','a','d','d','r','e','s','s','\0',
98 'A','d','d','r','e','s','s',' ','f','a','m','i','l','y',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d',' ','b','y',' ','p','r','o','t','o','c','o','l',' ','f','a','m','i','l','y','\0',
99 'R','e','s','o','u','r','c','e',' ','t','e','m','p','o','r','a','r','i','l','y',' ','u','n','a','v','a','i','l','a','b','l','e','\0',
100 'O','p','e','r','a','t','i','o','n',' ','a','l','r','e','a','d','y',' ','i','n',' ','p','r','o','g','r','e','s','s','\0',
101 'B','a','d',' ','f','i','l','e',' ','d','e','s','c','r','i','p','t','o','r','\0',
102 'B','a','d',' ','m','e','s','s','a','g','e','\0',
103 'D','e','v','i','c','e',' ','b','u','s','y','\0',
104 'O','p','e','r','a','t','i','o','n',' ','c','a','n','c','e','l','e','d','\0',
105 'N','o',' ','c','h','i','l','d',' ','p','r','o','c','e','s','s','e','s','\0',
106 'S','o','f','t','w','a','r','e',' ','c','a','u','s','e','d',' ','c','o','n','n','e','c','t','i','o','n',' ','a','b','o','r','t','\0',
107 'C','o','n','n','e','c','t','i','o','n',' ','r','e','f','u','s','e','d','\0',
108 'C','o','n','n','e','c','t','i','o','n',' ','r','e','s','e','t',' ','b','y',' ','p','e','e','r','\0',
109 'R','e','s','o','u','r','c','e',' ','d','e','a','d','l','o','c','k',' ','a','v','o','i','d','e','d','\0',
110 'D','e','s','t','i','n','a','t','i','o','n',' ','a','d','d','r','e','s','s',' ','r','e','q','u','i','r','e','d','\0',
111 'N','u','m','e','r','i','c','a','l',' ','a','r','g','u','m','e','n','t',' ','o','u','t',' ','o','f',' ','d','o','m','a','i','n','\0',
112 'D','i','s','c',' ','q','u','o','t','a',' ','e','x','c','e','e','d','e','d','\0',
113 'F','i','l','e',' ','e','x','i','s','t','s','\0',
114 'B','a','d',' ','a','d','d','r','e','s','s','\0',
115 'F','i','l','e',' ','t','o','o',' ','l','a','r','g','e','\0',
116 'N','o',' ','r','o','u','t','e',' ','t','o',' ','h','o','s','t','\0',
117 'I','d','e','n','t','i','f','i','e','r',' ','r','e','m','o','v','e','d','\0',
118 'I','l','l','e','g','a','l',' ','b','y','t','e',' ','s','e','q','u','e','n','c','e','\0',
119 'O','p','e','r','a','t','i','o','n',' ','n','o','w',' ','i','n',' ','p','r','o','g','r','e','s','s','\0',
120 'I','n','t','e','r','r','u','p','t','e','d',' ','s','y','s','t','e','m',' ','c','a','l','l','\0',
121 'I','n','v','a','l','i','d',' ','a','r','g','u','m','e','n','t','\0',
122 'I','n','p','u','t','/','o','u','t','p','u','t',' ','e','r','r','o','r','\0',
123 'S','o','c','k','e','t',' ','i','s',' ','a','l','r','e','a','d','y',' ','c','o','n','n','e','c','t','e','d','\0',
124 'I','s',' ','a',' ','d','i','r','e','c','t','o','r','y','\0',
125 'T','o','o',' ','m','a','n','y',' ','l','e','v','e','l','s',' ','o','f',' ','s','y','m','b','o','l','i','c',' ','l','i','n','k','s','\0',
126 'T','o','o',' ','m','a','n','y',' ','o','p','e','n',' ','f','i','l','e','s','\0',
127 'T','o','o',' ','m','a','n','y',' ','l','i','n','k','s','\0',
128 'M','e','s','s','a','g','e',' ','t','o','o',' ','l','o','n','g','\0',
129 'M','u','l','t','i','h','o','p',' ','a','t','t','e','m','p','t','e','d','\0',
130 'F','i','l','e',' ','n','a','m','e',' ','t','o','o',' ','l','o','n','g','\0',
131 'N','e','t','w','o','r','k',' ','i','s',' ','d','o','w','n','\0',
132 'N','e','t','w','o','r','k',' ','d','r','o','p','p','e','d',' ','c','o','n','n','e','c','t','i','o','n',' ','o','n',' ','r','e','s','e','t','\0',
133 'N','e','t','w','o','r','k',' ','i','s',' ','u','n','r','e','a','c','h','a','b','l','e','\0',
134 'T','o','o',' ','m','a','n','y',' ','o','p','e','n',' ','f','i','l','e','s',' ','i','n',' ','s','y','s','t','e','m','\0',
135 'N','o',' ','b','u','f','f','e','r',' ','s','p','a','c','e',' ','a','v','a','i','l','a','b','l','e','\0',
136 'N','o',' ','d','a','t','a',' ','a','v','a','i','l','a','b','l','e','\0',
137 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d',' ','b','y',' ','d','e','v','i','c','e','\0',
138 'N','o',' ','s','u','c','h',' ','e','n','t','r','y',',',' ','f','i','l','e',' ','o','r',' ','d','i','r','e','c','t','o','r','y','\0',
139 'E','x','e','c',' ','f','o','r','m','a','t',' ','e','r','r','o','r','\0',
140 'N','o',' ','l','o','c','k','s',' ','a','v','a','i','l','a','b','l','e','\0',
141 'L','i','n','k',' ','h','a','s',' ','b','e','e','n',' ','s','e','v','e','r','e','d','\0',
142 'C','a','n','n','o','t',' ','a','l','l','o','c','a','t','e',' ','m','e','m','o','r','y','\0',
143 'N','o',' ','m','e','s','s','a','g','e',' ','o','f',' ','d','e','s','i','r','e','d',' ','t','y','p','e','\0',
144 'P','r','o','t','o','c','o','l',' ','n','o','t',' ','a','v','a','i','l','a','b','l','e','\0',
145 'N','o',' ','s','p','a','c','e',' ','l','e','f','t',' ','o','n',' ','d','e','v','i','c','e','\0',
146 'O','u','t',' ','o','f',' ','s','t','r','e','a','m','s',' ','r','e','s','o','u','r','c','e','\0',
147 'D','e','v','i','c','e',' ','n','o','t',' ','a',' ','s','t','r','e','a','m','\0',
148 'F','u','n','c','t','i','o','n',' ','n','o','t',' ','i','m','p','l','e','m','e','n','t','e','d','\0',
149 'S','o','c','k','e','t',' ','i','s',' ','n','o','t',' ','c','o','n','n','e','c','t','e','d','\0',
150 'N','o','t',' ','a',' ','d','i','r','e','c','t','o','r','y','\0',
151 'D','i','r','e','c','t','o','r','y',' ','n','o','t',' ','e','m','p','t','y','\0',
152 'N','o',' ','t','o','b','a','c','c','o',',',' ','s','n','o','r','k','e','l','i','n','g',' ','o','n',' ','e','m','p','t','y',' ','p','i','p','e','\0',
153 'S','o','c','k','e','t',' ','o','p','e','r','a','t','i','o','n',' ','o','n',' ','n','o','n','-','s','o','c','k','e','t','\0',
154 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','\0',
155 'I','n','a','p','p','r','o','p','r','i','a','t','e',' ','i','o','c','t','l',' ','f','o','r',' ','d','e','v','i','c','e','\0',
156 'D','e','v','i','c','e',' ','n','o','t',' ','c','o','n','f','i','g','u','r','e','d','\0',
157 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','\0',
158 'V','a','l','u','e',' ','t','o','o',' ','l','a','r','g','e',' ','t','o',' ','b','e',' ','s','t','o','r','e','d',' ','i','n',' ','d','a','t','a',' ','t','y','p','e','\0',
159 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','p','e','r','m','i','t','t','e','d','\0',
160 'B','r','o','k','e','n',' ','p','i','p','e','\0',
161 'P','r','o','t','o','c','o','l',' ','e','r','r','o','r','\0',
162 'P','r','o','t','o','c','o','l',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','\0',
163 'P','r','o','t','o','c','o','l',' ','w','r','o','n','g',' ','t','y','p','e',' ','f','o','r',' ','s','o','c','k','e','t','\0',
164 'R','e','s','u','l','t',' ','t','o','o',' ','l','a','r','g','e','\0',
165 'R','e','a','d','-','o','n','l','y',' ','f','i','l','e','s','y','s','t','e','m','\0',
166 'I','n','v','a','l','i','d',' ','s','e','e','k','\0',
167 'N','o',' ','s','u','c','h',' ','p','r','o','c','e','s','s','\0',
168 'S','t','a','l','e',' ','N','F','S',' ','f','i','l','e',' ','h','a','n','d','l','e','\0',
169 'T','i','m','e','r',' ','e','x','p','i','r','e','d','\0',
170 'O','p','e','r','a','t','i','o','n',' ','t','i','m','e','d',' ','o','u','t','\0',
171 'T','e','x','t',' ','f','i','l','e',' ','b','u','s','y','\0',
172 'O','p','e','r','a','t','i','o','n',' ','w','o','u','l','d',' ','b','l','o','c','k','\0',
173 'C','r','o','s','s','-','d','e','v','i','c','e',' ','l','i','n','k','\0',
175 # undef a_X
176 # endif /* su_HAVE_DOCSTRINGS */
178 # undef a_X
179 # ifndef __CREATE_ERRORS_SH
180 # define a_X(X) X
181 # else
182 # define a_X(X) 0
183 # endif
184 static struct a_corerr_map const a_corerr_map[] = {
185 {233011709u, 0u, 0u, a_X(su_ERR_NONE)},
186 {338119313u, 5u, 9u, a_X(su_ERR_2BIG)},
187 {2760110381u, 10u, 32u, a_X(su_ERR_ACCES)},
188 {3973621059u, 16u, 50u, a_X(su_ERR_ADDRINUSE)},
189 {4228849030u, 26u, 73u, a_X(su_ERR_ADDRNOTAVAIL)},
190 {1437911301u, 39u, 105u, a_X(su_ERR_AFNOSUPPORT)},
191 {1876217389u, 51u, 153u, a_X(su_ERR_AGAIN)},
192 {2638797879u, 57u, 186u, a_X(su_ERR_ALREADY)},
193 {1628681718u, 65u, 216u, a_X(su_ERR_BADF)},
194 {3563543249u, 70u, 236u, a_X(su_ERR_BADMSG)},
195 {332518208u, 77u, 248u, a_X(su_ERR_BUSY)},
196 {1622129131u, 82u, 260u, a_X(su_ERR_CANCELED)},
197 {3508732648u, 91u, 279u, a_X(su_ERR_CHILD)},
198 {3696001689u, 97u, 298u, a_X(su_ERR_CONNABORTED)},
199 {1535510636u, 109u, 331u, a_X(su_ERR_CONNREFUSED)},
200 {323416381u, 121u, 350u, a_X(su_ERR_CONNRESET)},
201 {265908508u, 131u, 375u, a_X(su_ERR_DEADLK)},
202 {1947834517u, 138u, 401u, a_X(su_ERR_DESTADDRREQ)},
203 {689055206u, 150u, 430u, a_X(su_ERR_DOM)},
204 {2103109256u, 154u, 463u, a_X(su_ERR_DQUOT)},
205 {690634405u, 160u, 483u, a_X(su_ERR_EXIST)},
206 {1325100503u, 166u, 495u, a_X(su_ERR_FAULT)},
207 {191906582u, 172u, 507u, a_X(su_ERR_FBIG)},
208 {3136618891u, 177u, 522u, a_X(su_ERR_HOSTUNREACH)},
209 {597011636u, 189u, 539u, a_X(su_ERR_IDRM)},
210 {3837265952u, 194u, 558u, a_X(su_ERR_ILSEQ)},
211 {164315250u, 200u, 580u, a_X(su_ERR_INPROGRESS)},
212 {295637505u, 211u, 606u, a_X(su_ERR_INTR)},
213 {4001353557u, 216u, 630u, a_X(su_ERR_INVAL)},
214 {1727311571u, 222u, 647u, a_X(su_ERR_IO)},
215 {1873054828u, 225u, 666u, a_X(su_ERR_ISCONN)},
216 {2112607642u, 232u, 694u, a_X(su_ERR_ISDIR)},
217 {409311535u, 238u, 709u, a_X(su_ERR_LOOP)},
218 {3633286620u, 243u, 743u, a_X(su_ERR_MFILE)},
219 {2195249641u, 249u, 763u, a_X(su_ERR_MLINK)},
220 {4096082673u, 255u, 778u, a_X(su_ERR_MSGSIZE)},
221 {3526377641u, 263u, 795u, a_X(su_ERR_MULTIHOP)},
222 {663564256u, 272u, 814u, a_X(su_ERR_NAMETOOLONG)},
223 {2628143458u, 284u, 833u, a_X(su_ERR_NETDOWN)},
224 {2913781409u, 292u, 849u, a_X(su_ERR_NETRESET)},
225 {3902971798u, 301u, 885u, a_X(su_ERR_NETUNREACH)},
226 {459859315u, 312u, 908u, a_X(su_ERR_NFILE)},
227 {3446690680u, 318u, 938u, a_X(su_ERR_NOBUFS)},
228 {4178159620u, 325u, 964u, a_X(su_ERR_NODATA)},
229 {4238350791u, 332u, 982u, a_X(su_ERR_NODEV)},
230 {1268523872u, 338u, 1016u, a_X(su_ERR_NOENT)},
231 {2076180286u, 344u, 1049u, a_X(su_ERR_NOEXEC)},
232 {1161014149u, 351u, 1067u, a_X(su_ERR_NOLCK)},
233 {1880207780u, 357u, 1086u, a_X(su_ERR_NOLINK)},
234 {2297471775u, 364u, 1108u, a_X(su_ERR_NOMEM)},
235 {288687459u, 370u, 1131u, a_X(su_ERR_NOMSG)},
236 {3588403549u, 376u, 1158u, a_X(su_ERR_NOPROTOOPT)},
237 {2608265568u, 387u, 1181u, a_X(su_ERR_NOSPC)},
238 {1014226748u, 393u, 1205u, a_X(su_ERR_NOSR)},
239 {2306425920u, 398u, 1229u, a_X(su_ERR_NOSTR)},
240 {2157612882u, 404u, 1249u, a_X(su_ERR_NOSYS)},
241 {1106981846u, 410u, 1274u, a_X(su_ERR_NOTCONN)},
242 {3361152810u, 418u, 1298u, a_X(su_ERR_NOTDIR)},
243 {1159928508u, 425u, 1314u, a_X(su_ERR_NOTEMPTY)},
244 {1391828806u, 434u, 1334u, a_X(su_ERR_NOTOBACCO)},
245 {3263554828u, 444u, 1371u, a_X(su_ERR_NOTSOCK)},
246 {151164965u, 452u, 1402u, a_X(su_ERR_NOTSUP)},
247 {3870455042u, 459u, 1426u, a_X(su_ERR_NOTTY)},
248 {273388482u, 465u, 1457u, a_X(su_ERR_NXIO)},
249 {727228813u, 470u, 1479u, a_X(su_ERR_OPNOTSUPP)},
250 {2142687439u, 480u, 1503u, a_X(su_ERR_OVERFLOW)},
251 {1727042864u, 489u, 1545u, a_X(su_ERR_PERM)},
252 {1752074821u, 494u, 1569u, a_X(su_ERR_PIPE)},
253 {385670576u, 499u, 1581u, a_X(su_ERR_PROTO)},
254 {3066850062u, 505u, 1596u, a_X(su_ERR_PROTONOSUPPORT)},
255 {1908988597u, 520u, 1619u, a_X(su_ERR_PROTOTYPE)},
256 {833145061u, 530u, 1650u, a_X(su_ERR_RANGE)},
257 {2868169750u, 536u, 1667u, a_X(su_ERR_ROFS)},
258 {2514504004u, 541u, 1688u, a_X(su_ERR_SPIPE)},
259 {1572477186u, 547u, 1701u, a_X(su_ERR_SRCH)},
260 {1954937632u, 552u, 1717u, a_X(su_ERR_STALE)},
261 {3112234335u, 558u, 1739u, a_X(su_ERR_TIME)},
262 {1794618926u, 563u, 1753u, a_X(su_ERR_TIMEDOUT)},
263 {1586215649u, 572u, 1773u, a_X(su_ERR_TXTBSY)},
264 {1014021045u, 579u, 1788u, a_X(su_ERR_WOULDBLOCK)},
265 {1748691063u, 590u, 1810u, a_X(su_ERR_XDEV)},
267 # undef a_X
268 #endif /* su_SOURCE */
270 #ifdef su_SOURCE /* Lock-out compile-time-tools */
271 # define a_CORERR_REV_ILL 81u
272 # define a_CORERR_REV_PRIME 149u
273 # define a_CORERR_REV_LONGEST 4u
274 # define a_CORERR_REV_WRAPAROUND 0
275 static u8 const a_corerr_revmap[a_CORERR_REV_PRIME] = {
276 81u,70u,6u,81u,63u,36u,45u,52u,81u,81u,
277 34u,81u,81u,58u,81u,81u,29u,4u,81u,41u,
278 1u,68u,81u,81u,48u,74u,81u,81u,81u,81u,
279 81u,81u,42u,19u,81u,20u,81u,81u,81u,12u,
280 47u,81u,32u,64u,51u,81u,81u,81u,44u,27u,
281 62u,69u,77u,81u,56u,55u,79u,37u,81u,81u,
282 81u,72u,5u,67u,81u,81u,81u,81u,81u,13u,
283 81u,81u,81u,81u,23u,24u,14u,81u,81u,81u,
284 60u,81u,57u,81u,81u,81u,81u,18u,54u,40u,
285 71u,65u,78u,81u,80u,22u,9u,81u,49u,81u,
286 81u,81u,81u,11u,38u,66u,3u,81u,50u,43u,
287 15u,2u,35u,76u,25u,30u,31u,8u,75u,73u,
288 81u,81u,81u,10u,81u,81u,81u,81u,16u,28u,
289 81u,7u,17u,46u,81u,81u,26u,81u,39u,53u,
290 59u,81u,81u,33u,21u,0u,61u,81u,81u
292 #endif /* su_SOURCE */