Bump S-nail v14.9.2.ar ("Crested tit"), 2017-08-01
[s-mailx.git] / gen-errors.h
blob054061b736e639e92991f441265f80907e9d17ed
1 /*@ gen-errors.h, generated by ./make-errors.sh.
2 *@ See auxlily.c for more */
4 static char const a_aux_err_names[] = {
5 'N','O','N','E','\0',
6 '2','B','I','G','\0',
7 'A','C','C','E','S','\0',
8 'A','D','D','R','I','N','U','S','E','\0',
9 'A','D','D','R','N','O','T','A','V','A','I','L','\0',
10 'A','F','N','O','S','U','P','P','O','R','T','\0',
11 'A','G','A','I','N','\0',
12 'A','L','R','E','A','D','Y','\0',
13 'B','A','D','F','\0',
14 'B','A','D','M','S','G','\0',
15 'B','U','S','Y','\0',
16 'C','A','N','C','E','L','E','D','\0',
17 'C','H','I','L','D','\0',
18 'C','O','N','N','A','B','O','R','T','E','D','\0',
19 'C','O','N','N','R','E','F','U','S','E','D','\0',
20 'C','O','N','N','R','E','S','E','T','\0',
21 'D','E','A','D','L','K','\0',
22 'D','E','S','T','A','D','D','R','R','E','Q','\0',
23 'D','O','M','\0',
24 'D','Q','U','O','T','\0',
25 'E','X','I','S','T','\0',
26 'F','A','U','L','T','\0',
27 'F','B','I','G','\0',
28 'H','O','S','T','U','N','R','E','A','C','H','\0',
29 'I','D','R','M','\0',
30 'I','L','S','E','Q','\0',
31 'I','N','P','R','O','G','R','E','S','S','\0',
32 'I','N','T','R','\0',
33 'I','N','V','A','L','\0',
34 'I','O','\0',
35 'I','S','C','O','N','N','\0',
36 'I','S','D','I','R','\0',
37 'M','F','I','L','E','\0',
38 'M','L','I','N','K','\0',
39 'M','S','G','S','I','Z','E','\0',
40 'M','U','L','T','I','H','O','P','\0',
41 'N','A','M','E','T','O','O','L','O','N','G','\0',
42 'N','E','T','D','O','W','N','\0',
43 'N','E','T','R','E','S','E','T','\0',
44 'N','E','T','U','N','R','E','A','C','H','\0',
45 'N','F','I','L','E','\0',
46 'N','O','B','U','F','S','\0',
47 'N','O','D','A','T','A','\0',
48 'N','O','D','E','V','\0',
49 'N','O','E','N','T','\0',
50 'N','O','E','X','E','C','\0',
51 'N','O','L','C','K','\0',
52 'N','O','L','I','N','K','\0',
53 'N','O','M','E','M','\0',
54 'N','O','M','S','G','\0',
55 'N','O','P','R','O','T','O','O','P','T','\0',
56 'N','O','S','P','C','\0',
57 'N','O','S','R','\0',
58 'N','O','S','T','R','\0',
59 'N','O','S','Y','S','\0',
60 'N','O','T','C','O','N','N','\0',
61 'N','O','T','D','I','R','\0',
62 'N','O','T','E','M','P','T','Y','\0',
63 'N','O','T','O','B','A','C','C','O','\0',
64 'N','O','T','S','O','C','K','\0',
65 'N','O','T','S','U','P','\0',
66 'N','O','T','T','Y','\0',
67 'N','X','I','O','\0',
68 'O','P','N','O','T','S','U','P','P','\0',
69 'O','V','E','R','F','L','O','W','\0',
70 'P','E','R','M','\0',
71 'P','I','P','E','\0',
72 'P','R','O','T','O','\0',
73 'P','R','O','T','O','N','O','S','U','P','P','O','R','T','\0',
74 'P','R','O','T','O','T','Y','P','E','\0',
75 'R','A','N','G','E','\0',
76 'R','O','F','S','\0',
77 'S','P','I','P','E','\0',
78 'S','R','C','H','\0',
79 'S','T','A','L','E','\0',
80 'T','I','M','E','\0',
81 'T','I','M','E','D','O','U','T','\0',
82 'T','X','T','B','S','Y','\0',
83 'W','O','U','L','D','B','L','O','C','K','\0',
84 'X','D','E','V','\0',
87 #undef a_X
88 #define a_X(X)
89 static char const a_aux_err_docs[] = {
90 'N','o',' ','e','r','r','o','r','\0',
91 'A','r','g','u','m','e','n','t',' ','l','i','s','t',' ','t','o','o',' ','l','o','n','g','\0',
92 'P','e','r','m','i','s','s','i','o','n',' ','d','e','n','i','e','d','\0',
93 'A','d','d','r','e','s','s',' ','a','l','r','e','a','d','y',' ','i','n',' ','u','s','e','\0',
94 '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',
95 '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',
96 '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',
97 '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',
98 'B','a','d',' ','f','i','l','e',' ','d','e','s','c','r','i','p','t','o','r','\0',
99 'B','a','d',' ','m','e','s','s','a','g','e','\0',
100 'D','e','v','i','c','e',' ','b','u','s','y','\0',
101 'O','p','e','r','a','t','i','o','n',' ','c','a','n','c','e','l','e','d','\0',
102 'N','o',' ','c','h','i','l','d',' ','p','r','o','c','e','s','s','e','s','\0',
103 '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',
104 'C','o','n','n','e','c','t','i','o','n',' ','r','e','f','u','s','e','d','\0',
105 'C','o','n','n','e','c','t','i','o','n',' ','r','e','s','e','t',' ','b','y',' ','p','e','e','r','\0',
106 'R','e','s','o','u','r','c','e',' ','d','e','a','d','l','o','c','k',' ','a','v','o','i','d','e','d','\0',
107 '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',
108 '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',
109 'D','i','s','c',' ','q','u','o','t','a',' ','e','x','c','e','e','d','e','d','\0',
110 'F','i','l','e',' ','e','x','i','s','t','s','\0',
111 'B','a','d',' ','a','d','d','r','e','s','s','\0',
112 'F','i','l','e',' ','t','o','o',' ','l','a','r','g','e','\0',
113 'N','o',' ','r','o','u','t','e',' ','t','o',' ','h','o','s','t','\0',
114 'I','d','e','n','t','i','f','i','e','r',' ','r','e','m','o','v','e','d','\0',
115 'I','l','l','e','g','a','l',' ','b','y','t','e',' ','s','e','q','u','e','n','c','e','\0',
116 'O','p','e','r','a','t','i','o','n',' ','n','o','w',' ','i','n',' ','p','r','o','g','r','e','s','s','\0',
117 'I','n','t','e','r','r','u','p','t','e','d',' ','s','y','s','t','e','m',' ','c','a','l','l','\0',
118 'I','n','v','a','l','i','d',' ','a','r','g','u','m','e','n','t','\0',
119 'I','n','p','u','t','/','o','u','t','p','u','t',' ','e','r','r','o','r','\0',
120 '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',
121 'I','s',' ','a',' ','d','i','r','e','c','t','o','r','y','\0',
122 'T','o','o',' ','m','a','n','y',' ','o','p','e','n',' ','f','i','l','e','s','\0',
123 'T','o','o',' ','m','a','n','y',' ','l','i','n','k','s','\0',
124 'M','e','s','s','a','g','e',' ','t','o','o',' ','l','o','n','g','\0',
125 'M','u','l','t','i','h','o','p',' ','a','t','t','e','m','p','t','e','d','\0',
126 'F','i','l','e',' ','n','a','m','e',' ','t','o','o',' ','l','o','n','g','\0',
127 'N','e','t','w','o','r','k',' ','i','s',' ','d','o','w','n','\0',
128 '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',
129 'N','e','t','w','o','r','k',' ','i','s',' ','u','n','r','e','a','c','h','a','b','l','e','\0',
130 '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',
131 'N','o',' ','b','u','f','f','e','r',' ','s','p','a','c','e',' ','a','v','a','i','l','a','b','l','e','\0',
132 'N','o',' ','d','a','t','a',' ','a','v','a','i','l','a','b','l','e','\0',
133 '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',
134 'N','o',' ','s','u','c','h',' ','f','i','l','e',' ','o','r',' ','d','i','r','e','c','t','o','r','y','\0',
135 'E','x','e','c',' ','f','o','r','m','a','t',' ','e','r','r','o','r','\0',
136 'N','o',' ','l','o','c','k','s',' ','a','v','a','i','l','a','b','l','e','\0',
137 'L','i','n','k',' ','h','a','s',' ','b','e','e','n',' ','s','e','v','e','r','e','d','\0',
138 'C','a','n','n','o','t',' ','a','l','l','o','c','a','t','e',' ','m','e','m','o','r','y','\0',
139 'N','o',' ','m','e','s','s','a','g','e',' ','o','f',' ','d','e','s','i','r','e','d',' ','t','y','p','e','\0',
140 'P','r','o','t','o','c','o','l',' ','n','o','t',' ','a','v','a','i','l','a','b','l','e','\0',
141 'N','o',' ','s','p','a','c','e',' ','l','e','f','t',' ','o','n',' ','d','e','v','i','c','e','\0',
142 'O','u','t',' ','o','f',' ','s','t','r','e','a','m','s',' ','r','e','s','o','u','r','c','e','\0',
143 'D','e','v','i','c','e',' ','n','o','t',' ','a',' ','s','t','r','e','a','m','\0',
144 'F','u','n','c','t','i','o','n',' ','n','o','t',' ','i','m','p','l','e','m','e','n','t','e','d','\0',
145 'S','o','c','k','e','t',' ','i','s',' ','n','o','t',' ','c','o','n','n','e','c','t','e','d','\0',
146 'N','o','t',' ','a',' ','d','i','r','e','c','t','o','r','y','\0',
147 'D','i','r','e','c','t','o','r','y',' ','n','o','t',' ','e','m','p','t','y','\0',
148 'S','n','o','r','k','e','l','i','n','g',' ','o','n',' ','e','m','p','t','y',' ','p','i','p','e','\0',
149 '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',
150 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','\0',
151 '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',
152 'D','e','v','i','c','e',' ','n','o','t',' ','c','o','n','f','i','g','u','r','e','d','\0',
153 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','\0',
154 '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',
155 'O','p','e','r','a','t','i','o','n',' ','n','o','t',' ','p','e','r','m','i','t','t','e','d','\0',
156 'B','r','o','k','e','n',' ','p','i','p','e','\0',
157 'P','r','o','t','o','c','o','l',' ','e','r','r','o','r','\0',
158 'P','r','o','t','o','c','o','l',' ','n','o','t',' ','s','u','p','p','o','r','t','e','d','\0',
159 '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',
160 'R','e','s','u','l','t',' ','t','o','o',' ','l','a','r','g','e','\0',
161 'R','e','a','d','-','o','n','l','y',' ','f','i','l','e','s','y','s','t','e','m','\0',
162 'I','n','v','a','l','i','d',' ','s','e','e','k','\0',
163 'N','o',' ','s','u','c','h',' ','p','r','o','c','e','s','s','\0',
164 'S','t','a','l','e',' ','N','F','S',' ','f','i','l','e',' ','h','a','n','d','l','e','\0',
165 'T','i','m','e','r',' ','e','x','p','i','r','e','d','\0',
166 'O','p','e','r','a','t','i','o','n',' ','t','i','m','e','d',' ','o','u','t','\0',
167 'T','e','x','t',' ','f','i','l','e',' ','b','u','s','y','\0',
168 'O','p','e','r','a','t','i','o','n',' ','w','o','u','l','d',' ','b','l','o','c','k','\0',
169 'C','r','o','s','s','-','d','e','v','i','c','e',' ','l','i','n','k','\0',
171 #undef a_X
173 #undef a_X
174 #ifndef __CREATE_ERRORS_SH
175 # define a_X(X) X
176 #else
177 # define a_X(X) 0
178 #endif
179 static struct a_aux_err_map const a_aux_err_map[] = {
180 {2891760u, 0u, 0u, a_X(n_ERR_NONE)},
181 {1871204u, 5u, 9u, a_X(n_ERR_2BIG)},
182 {79567967u, 10u, 32u, a_X(n_ERR_ACCES)},
183 {2351536831u, 16u, 50u, a_X(n_ERR_ADDRINUSE)},
184 {3273067129u, 26u, 73u, a_X(n_ERR_ADDRNOTAVAIL)},
185 {518383073u, 39u, 105u, a_X(n_ERR_AFNOSUPPORT)},
186 {79709664u, 51u, 153u, a_X(n_ERR_AGAIN)},
187 {1120160226u, 57u, 186u, a_X(n_ERR_ALREADY)},
188 {2444941u, 65u, 216u, a_X(n_ERR_BADF)},
189 {2662551182u, 70u, 236u, a_X(n_ERR_BADMSG)},
190 {2467235u, 77u, 248u, a_X(n_ERR_BUSY)},
191 {463081807u, 82u, 260u, a_X(n_ERR_CANCELED)},
192 {82126244u, 91u, 279u, a_X(n_ERR_CHILD)},
193 {3418447855u, 97u, 298u, a_X(n_ERR_CONNABORTED)},
194 {4005406460u, 109u, 331u, a_X(n_ERR_CONNREFUSED)},
195 {2500215377u, 121u, 350u, a_X(n_ERR_CONNRESET)},
196 {2745447813u, 131u, 375u, a_X(n_ERR_DEADLK)},
197 {4237350771u, 138u, 401u, a_X(n_ERR_DESTADDRREQ)},
198 {76736u, 150u, 430u, a_X(n_ERR_DOM)},
199 {83648781u, 154u, 463u, a_X(n_ERR_DQUOT)},
200 {85073325u, 160u, 483u, a_X(n_ERR_EXIST)},
201 {85445532u, 166u, 495u, a_X(n_ERR_FAULT)},
202 {2589944u, 172u, 507u, a_X(n_ERR_FBIG)},
203 {1447271076u, 177u, 522u, a_X(n_ERR_HOSTUNREACH)},
204 {2700236u, 189u, 539u, a_X(n_ERR_IDRM)},
205 {89396190u, 194u, 558u, a_X(n_ERR_ILSEQ)},
206 {3743566316u, 200u, 580u, a_X(n_ERR_INPROGRESS)},
207 {2711197u, 211u, 606u, a_X(n_ERR_INTR)},
208 {89471194u, 216u, 630u, a_X(n_ERR_INVAL)},
209 {2488u, 222u, 647u, a_X(n_ERR_IO)},
210 {2957811594u, 225u, 666u, a_X(n_ERR_ISCONN)},
211 {89631547u, 232u, 694u, a_X(n_ERR_ISDIR)},
212 {93913581u, 238u, 709u, a_X(n_ERR_MFILE)},
213 {94129275u, 244u, 729u, a_X(n_ERR_MLINK)},
214 {3994289122u, 250u, 744u, a_X(n_ERR_MSGSIZE)},
215 {1447334482u, 258u, 761u, a_X(n_ERR_MULTIHOP)},
216 {1614709027u, 267u, 780u, a_X(n_ERR_NAMETOOLONG)},
217 {457778655u, 279u, 799u, a_X(n_ERR_NETDOWN)},
218 {2238032682u, 287u, 815u, a_X(n_ERR_NETRESET)},
219 {1901584685u, 296u, 851u, a_X(n_ERR_NETUNREACH)},
220 {95099502u, 307u, 874u, a_X(n_ERR_NFILE)},
221 {3148715213u, 313u, 904u, a_X(n_ERR_NOBUFS)},
222 {3148765751u, 320u, 930u, a_X(n_ERR_NODATA)},
223 {95417276u, 327u, 948u, a_X(n_ERR_NODEV)},
224 {95418660u, 333u, 982u, a_X(n_ERR_NOENT)},
225 {3148826242u, 339u, 1008u, a_X(n_ERR_NOEXEC)},
226 {95425911u, 346u, 1026u, a_X(n_ERR_NOLCK)},
227 {3149061771u, 352u, 1045u, a_X(n_ERR_NOLINK)},
228 {95427068u, 359u, 1067u, a_X(n_ERR_NOMEM)},
229 {95427524u, 365u, 1090u, a_X(n_ERR_NOMSG)},
230 {1757238308u, 371u, 1117u, a_X(n_ERR_NOPROTOOPT)},
231 {95433955u, 382u, 1140u, a_X(n_ERR_NOSPC)},
232 {2891938u, 388u, 1164u, a_X(n_ERR_NOSR)},
233 {95434102u, 393u, 1188u, a_X(n_ERR_NOSTR)},
234 {95434268u, 399u, 1208u, a_X(n_ERR_NOSYS)},
235 {849096351u, 405u, 1233u, a_X(n_ERR_NOTCONN)},
236 {3149343664u, 413u, 1257u, a_X(n_ERR_NOTDIR)},
237 {2252678240u, 420u, 1273u, a_X(n_ERR_NOTEMPTY)},
238 {1701688472u, 429u, 1293u, a_X(n_ERR_NOTOBACCO)},
239 {849670977u, 439u, 1318u, a_X(n_ERR_NOTSOCK)},
240 {3149360393u, 447u, 1349u, a_X(n_ERR_NOTSUP)},
241 {95435198u, 454u, 1373u, a_X(n_ERR_NOTTY)},
242 {2901406u, 460u, 1404u, a_X(n_ERR_NXIO)},
243 {4187911192u, 465u, 1426u, a_X(n_ERR_OPNOTSUPP)},
244 {1799919444u, 475u, 1450u, a_X(n_ERR_OVERFLOW)},
245 {2952884u, 484u, 1492u, a_X(n_ERR_PERM)},
246 {2957166u, 489u, 1516u, a_X(n_ERR_PIPE)},
247 {97909396u, 494u, 1528u, a_X(n_ERR_PROTO)},
248 {885215854u, 500u, 1543u, a_X(n_ERR_PROTONOSUPPORT)},
249 {2666051990u, 515u, 1566u, a_X(n_ERR_PROTOTYPE)},
250 {99668781u, 525u, 1597u, a_X(n_ERR_RANGE)},
251 {3035258u, 531u, 1614u, a_X(n_ERR_ROFS)},
252 {101388609u, 536u, 1635u, a_X(n_ERR_SPIPE)},
253 {3074352u, 542u, 1648u, a_X(n_ERR_SRCH)},
254 {101523513u, 547u, 1664u, a_X(n_ERR_STALE)},
255 {3100815u, 553u, 1686u, a_X(n_ERR_TIME)},
256 {832152875u, 558u, 1700u, a_X(n_ERR_TIMEDOUT)},
257 {3394827470u, 567u, 1720u, a_X(n_ERR_TXTBSY)},
258 {1100483414u, 574u, 1735u, a_X(n_ERR_WOULDBLOCK)},
259 {3238871u, 585u, 1757u, a_X(n_ERR_XDEV)},
261 #undef a_X
263 #define a_AUX_ERR_REV_ILL 80u
264 #define a_AUX_ERR_REV_PRIME 131u
265 #define a_AUX_ERR_REV_LONGEST 5u
266 #define a_AUX_ERR_REV_WRAPAROUND 1
267 static ui8_t const a_aux_err_revmap[a_AUX_ERR_REV_PRIME] = {
268 1u,41u,59u,76u,60u,80u,80u,80u,2u,46u,
269 80u,33u,17u,57u,26u,36u,64u,65u,62u,80u,
270 43u,27u,80u,80u,9u,80u,80u,79u,28u,80u,
271 80u,80u,80u,80u,4u,80u,80u,31u,80u,80u,
272 80u,19u,80u,56u,58u,73u,75u,80u,80u,80u,
273 49u,70u,40u,80u,80u,7u,80u,80u,80u,80u,
274 30u,80u,47u,51u,24u,80u,0u,77u,80u,80u,
275 55u,45u,37u,80u,15u,22u,32u,80u,53u,80u,
276 80u,80u,11u,39u,80u,74u,34u,25u,8u,80u,
277 80u,5u,20u,80u,6u,44u,63u,80u,78u,80u,
278 80u,18u,42u,66u,13u,80u,23u,80u,35u,3u,
279 14u,72u,10u,52u,54u,80u,50u,12u,16u,48u,
280 69u,71u,68u,80u,38u,80u,61u,21u,67u,80u,