Contents of /trunk/mkinitrd-magellan/klibc/usr/klibc/ctypes.c
Parent Directory | Revision Log
Revision 532 -
(show annotations)
(download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 12484 byte(s)
Sat Sep 1 22:45:15 2007 UTC (16 years, 8 months ago) by niro
File MIME type: text/plain
File size: 12484 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd
1 | /* |
2 | * ctypes.c |
3 | * |
4 | * This is the array that defines <ctype.h> classes. |
5 | * This assumes ISO 8859-1. |
6 | */ |
7 | |
8 | #include <ctype.h> |
9 | |
10 | const unsigned char __ctypes[257] = { |
11 | 0, /* EOF */ |
12 | |
13 | __ctype_cntrl, /* control character */ |
14 | __ctype_cntrl, /* control character */ |
15 | __ctype_cntrl, /* control character */ |
16 | __ctype_cntrl, /* control character */ |
17 | __ctype_cntrl, /* control character */ |
18 | __ctype_cntrl, /* control character */ |
19 | __ctype_cntrl, /* control character */ |
20 | __ctype_cntrl, /* control character */ |
21 | __ctype_cntrl | __ctype_space, /* BS */ |
22 | __ctype_cntrl | __ctype_space, /* TAB */ |
23 | __ctype_cntrl | __ctype_space, /* LF */ |
24 | __ctype_cntrl | __ctype_space, /* VT */ |
25 | __ctype_cntrl | __ctype_space, /* FF */ |
26 | __ctype_cntrl | __ctype_space, /* CR */ |
27 | __ctype_cntrl, /* control character */ |
28 | |
29 | __ctype_cntrl, /* control character */ |
30 | __ctype_cntrl, /* control character */ |
31 | __ctype_cntrl, /* control character */ |
32 | __ctype_cntrl, /* control character */ |
33 | __ctype_cntrl, /* control character */ |
34 | __ctype_cntrl, /* control character */ |
35 | __ctype_cntrl, /* control character */ |
36 | __ctype_cntrl, /* control character */ |
37 | __ctype_cntrl, /* control character */ |
38 | __ctype_cntrl, /* control character */ |
39 | __ctype_cntrl, /* control character */ |
40 | __ctype_cntrl, /* control character */ |
41 | __ctype_cntrl, /* control character */ |
42 | __ctype_cntrl, /* control character */ |
43 | __ctype_cntrl, /* control character */ |
44 | __ctype_cntrl, /* control character */ |
45 | __ctype_cntrl, /* control character */ |
46 | |
47 | __ctype_print | __ctype_space, /* space */ |
48 | __ctype_print | __ctype_punct, /* punctuation */ |
49 | __ctype_print | __ctype_punct, /* punctuation */ |
50 | __ctype_print | __ctype_punct, /* punctuation */ |
51 | __ctype_print | __ctype_punct, /* punctuation */ |
52 | __ctype_print | __ctype_punct, /* punctuation */ |
53 | __ctype_print | __ctype_punct, /* punctuation */ |
54 | __ctype_print | __ctype_punct, /* punctuation */ |
55 | __ctype_print | __ctype_punct, /* punctuation */ |
56 | __ctype_print | __ctype_punct, /* punctuation */ |
57 | __ctype_print | __ctype_punct, /* punctuation */ |
58 | __ctype_print | __ctype_punct, /* punctuation */ |
59 | __ctype_print | __ctype_punct, /* punctuation */ |
60 | __ctype_print | __ctype_punct, /* punctuation */ |
61 | __ctype_print | __ctype_punct, /* punctuation */ |
62 | __ctype_print | __ctype_punct, /* punctuation */ |
63 | |
64 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
65 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
66 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
67 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
68 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
69 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
70 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
71 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
72 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
73 | __ctype_print | __ctype_digit | __ctype_xdigit, /* digit */ |
74 | __ctype_print | __ctype_punct, /* punctuation */ |
75 | __ctype_print | __ctype_punct, /* punctuation */ |
76 | __ctype_print | __ctype_punct, /* punctuation */ |
77 | __ctype_print | __ctype_punct, /* punctuation */ |
78 | __ctype_print | __ctype_punct, /* punctuation */ |
79 | __ctype_print | __ctype_punct, /* punctuation */ |
80 | |
81 | __ctype_print | __ctype_punct, /* punctuation */ |
82 | __ctype_print | __ctype_upper | __ctype_xdigit, /* A-F */ |
83 | __ctype_print | __ctype_upper | __ctype_xdigit, /* A-F */ |
84 | __ctype_print | __ctype_upper | __ctype_xdigit, /* A-F */ |
85 | __ctype_print | __ctype_upper | __ctype_xdigit, /* A-F */ |
86 | __ctype_print | __ctype_upper | __ctype_xdigit, /* A-F */ |
87 | __ctype_print | __ctype_upper | __ctype_xdigit, /* A-F */ |
88 | __ctype_print | __ctype_upper, /* G-Z */ |
89 | __ctype_print | __ctype_upper, /* G-Z */ |
90 | __ctype_print | __ctype_upper, /* G-Z */ |
91 | __ctype_print | __ctype_upper, /* G-Z */ |
92 | __ctype_print | __ctype_upper, /* G-Z */ |
93 | __ctype_print | __ctype_upper, /* G-Z */ |
94 | __ctype_print | __ctype_upper, /* G-Z */ |
95 | __ctype_print | __ctype_upper, /* G-Z */ |
96 | __ctype_print | __ctype_upper, /* G-Z */ |
97 | |
98 | __ctype_print | __ctype_upper, /* G-Z */ |
99 | __ctype_print | __ctype_upper, /* G-Z */ |
100 | __ctype_print | __ctype_upper, /* G-Z */ |
101 | __ctype_print | __ctype_upper, /* G-Z */ |
102 | __ctype_print | __ctype_upper, /* G-Z */ |
103 | __ctype_print | __ctype_upper, /* G-Z */ |
104 | __ctype_print | __ctype_upper, /* G-Z */ |
105 | __ctype_print | __ctype_upper, /* G-Z */ |
106 | __ctype_print | __ctype_upper, /* G-Z */ |
107 | __ctype_print | __ctype_upper, /* G-Z */ |
108 | __ctype_print | __ctype_upper, /* G-Z */ |
109 | __ctype_print | __ctype_punct, /* punctuation */ |
110 | __ctype_print | __ctype_punct, /* punctuation */ |
111 | __ctype_print | __ctype_punct, /* punctuation */ |
112 | __ctype_print | __ctype_punct, /* punctuation */ |
113 | __ctype_print | __ctype_punct, /* punctuation */ |
114 | |
115 | __ctype_print | __ctype_punct, /* punctuation */ |
116 | __ctype_print | __ctype_lower | __ctype_xdigit, /* a-f */ |
117 | __ctype_print | __ctype_lower | __ctype_xdigit, /* a-f */ |
118 | __ctype_print | __ctype_lower | __ctype_xdigit, /* a-f */ |
119 | __ctype_print | __ctype_lower | __ctype_xdigit, /* a-f */ |
120 | __ctype_print | __ctype_lower | __ctype_xdigit, /* a-f */ |
121 | __ctype_print | __ctype_lower | __ctype_xdigit, /* a-f */ |
122 | __ctype_print | __ctype_lower, /* g-z */ |
123 | __ctype_print | __ctype_lower, /* g-z */ |
124 | __ctype_print | __ctype_lower, /* g-z */ |
125 | __ctype_print | __ctype_lower, /* g-z */ |
126 | __ctype_print | __ctype_lower, /* g-z */ |
127 | __ctype_print | __ctype_lower, /* g-z */ |
128 | __ctype_print | __ctype_lower, /* g-z */ |
129 | __ctype_print | __ctype_lower, /* g-z */ |
130 | __ctype_print | __ctype_lower, /* g-z */ |
131 | |
132 | __ctype_print | __ctype_lower, /* g-z */ |
133 | __ctype_print | __ctype_lower, /* g-z */ |
134 | __ctype_print | __ctype_lower, /* g-z */ |
135 | __ctype_print | __ctype_lower, /* g-z */ |
136 | __ctype_print | __ctype_lower, /* g-z */ |
137 | __ctype_print | __ctype_lower, /* g-z */ |
138 | __ctype_print | __ctype_lower, /* g-z */ |
139 | __ctype_print | __ctype_lower, /* g-z */ |
140 | __ctype_print | __ctype_lower, /* g-z */ |
141 | __ctype_print | __ctype_lower, /* g-z */ |
142 | __ctype_print | __ctype_lower, /* g-z */ |
143 | __ctype_print | __ctype_punct, /* punctuation */ |
144 | __ctype_print | __ctype_punct, /* punctuation */ |
145 | __ctype_print | __ctype_punct, /* punctuation */ |
146 | __ctype_print | __ctype_punct, /* punctuation */ |
147 | __ctype_cntrl, /* control character */ |
148 | |
149 | __ctype_cntrl, /* control character */ |
150 | __ctype_cntrl, /* control character */ |
151 | __ctype_cntrl, /* control character */ |
152 | __ctype_cntrl, /* control character */ |
153 | __ctype_cntrl, /* control character */ |
154 | __ctype_cntrl, /* control character */ |
155 | __ctype_cntrl, /* control character */ |
156 | __ctype_cntrl, /* control character */ |
157 | __ctype_cntrl, /* control character */ |
158 | __ctype_cntrl, /* control character */ |
159 | __ctype_cntrl, /* control character */ |
160 | __ctype_cntrl, /* control character */ |
161 | __ctype_cntrl, /* control character */ |
162 | __ctype_cntrl, /* control character */ |
163 | __ctype_cntrl, /* control character */ |
164 | __ctype_cntrl, /* control character */ |
165 | |
166 | __ctype_cntrl, /* control character */ |
167 | __ctype_cntrl, /* control character */ |
168 | __ctype_cntrl, /* control character */ |
169 | __ctype_cntrl, /* control character */ |
170 | __ctype_cntrl, /* control character */ |
171 | __ctype_cntrl, /* control character */ |
172 | __ctype_cntrl, /* control character */ |
173 | __ctype_cntrl, /* control character */ |
174 | __ctype_cntrl, /* control character */ |
175 | __ctype_cntrl, /* control character */ |
176 | __ctype_cntrl, /* control character */ |
177 | __ctype_cntrl, /* control character */ |
178 | __ctype_cntrl, /* control character */ |
179 | __ctype_cntrl, /* control character */ |
180 | __ctype_cntrl, /* control character */ |
181 | __ctype_cntrl, /* control character */ |
182 | |
183 | __ctype_print | __ctype_space, /* NBSP */ |
184 | __ctype_print | __ctype_punct, /* punctuation */ |
185 | __ctype_print | __ctype_punct, /* punctuation */ |
186 | __ctype_print | __ctype_punct, /* punctuation */ |
187 | __ctype_print | __ctype_punct, /* punctuation */ |
188 | __ctype_print | __ctype_punct, /* punctuation */ |
189 | __ctype_print | __ctype_punct, /* punctuation */ |
190 | __ctype_print | __ctype_punct, /* punctuation */ |
191 | __ctype_print | __ctype_punct, /* punctuation */ |
192 | __ctype_print | __ctype_punct, /* punctuation */ |
193 | __ctype_print | __ctype_punct, /* punctuation */ |
194 | __ctype_print | __ctype_punct, /* punctuation */ |
195 | __ctype_print | __ctype_punct, /* punctuation */ |
196 | __ctype_print | __ctype_punct, /* punctuation */ |
197 | __ctype_print | __ctype_punct, /* punctuation */ |
198 | __ctype_print | __ctype_punct, /* punctuation */ |
199 | |
200 | __ctype_print | __ctype_punct, /* punctuation */ |
201 | __ctype_print | __ctype_punct, /* punctuation */ |
202 | __ctype_print | __ctype_punct, /* punctuation */ |
203 | __ctype_print | __ctype_punct, /* punctuation */ |
204 | __ctype_print | __ctype_punct, /* punctuation */ |
205 | __ctype_print | __ctype_punct, /* punctuation */ |
206 | __ctype_print | __ctype_punct, /* punctuation */ |
207 | __ctype_print | __ctype_punct, /* punctuation */ |
208 | __ctype_print | __ctype_punct, /* punctuation */ |
209 | __ctype_print | __ctype_punct, /* punctuation */ |
210 | __ctype_print | __ctype_punct, /* punctuation */ |
211 | __ctype_print | __ctype_punct, /* punctuation */ |
212 | __ctype_print | __ctype_punct, /* punctuation */ |
213 | __ctype_print | __ctype_punct, /* punctuation */ |
214 | __ctype_print | __ctype_punct, /* punctuation */ |
215 | __ctype_print | __ctype_punct, /* punctuation */ |
216 | |
217 | __ctype_print | __ctype_upper, /* upper accented */ |
218 | __ctype_print | __ctype_upper, /* upper accented */ |
219 | __ctype_print | __ctype_upper, /* upper accented */ |
220 | __ctype_print | __ctype_upper, /* upper accented */ |
221 | __ctype_print | __ctype_upper, /* upper accented */ |
222 | __ctype_print | __ctype_upper, /* upper accented */ |
223 | __ctype_print | __ctype_upper, /* upper accented */ |
224 | __ctype_print | __ctype_upper, /* upper accented */ |
225 | __ctype_print | __ctype_upper, /* upper accented */ |
226 | __ctype_print | __ctype_upper, /* upper accented */ |
227 | __ctype_print | __ctype_upper, /* upper accented */ |
228 | __ctype_print | __ctype_upper, /* upper accented */ |
229 | __ctype_print | __ctype_upper, /* upper accented */ |
230 | __ctype_print | __ctype_upper, /* upper accented */ |
231 | __ctype_print | __ctype_upper, /* upper accented */ |
232 | __ctype_print | __ctype_upper, /* upper accented */ |
233 | |
234 | __ctype_print | __ctype_upper, /* upper accented */ |
235 | __ctype_print | __ctype_upper, /* upper accented */ |
236 | __ctype_print | __ctype_upper, /* upper accented */ |
237 | __ctype_print | __ctype_upper, /* upper accented */ |
238 | __ctype_print | __ctype_upper, /* upper accented */ |
239 | __ctype_print | __ctype_upper, /* upper accented */ |
240 | __ctype_print | __ctype_upper, /* upper accented */ |
241 | __ctype_print | __ctype_punct, /* punctuation */ |
242 | __ctype_print | __ctype_upper, /* upper accented */ |
243 | __ctype_print | __ctype_upper, /* upper accented */ |
244 | __ctype_print | __ctype_upper, /* upper accented */ |
245 | __ctype_print | __ctype_upper, /* upper accented */ |
246 | __ctype_print | __ctype_upper, /* upper accented */ |
247 | __ctype_print | __ctype_upper, /* upper accented */ |
248 | __ctype_print | __ctype_upper, /* upper accented */ |
249 | __ctype_print | __ctype_lower, /* lower accented */ |
250 | |
251 | __ctype_print | __ctype_lower, /* lower accented */ |
252 | __ctype_print | __ctype_lower, /* lower accented */ |
253 | __ctype_print | __ctype_lower, /* lower accented */ |
254 | __ctype_print | __ctype_lower, /* lower accented */ |
255 | __ctype_print | __ctype_lower, /* lower accented */ |
256 | __ctype_print | __ctype_lower, /* lower accented */ |
257 | __ctype_print | __ctype_lower, /* lower accented */ |
258 | __ctype_print | __ctype_lower, /* lower accented */ |
259 | __ctype_print | __ctype_lower, /* lower accented */ |
260 | __ctype_print | __ctype_lower, /* lower accented */ |
261 | __ctype_print | __ctype_lower, /* lower accented */ |
262 | __ctype_print | __ctype_lower, /* lower accented */ |
263 | __ctype_print | __ctype_lower, /* lower accented */ |
264 | __ctype_print | __ctype_lower, /* lower accented */ |
265 | __ctype_print | __ctype_lower, /* lower accented */ |
266 | __ctype_print | __ctype_lower, /* lower accented */ |
267 | |
268 | __ctype_print | __ctype_lower, /* lower accented */ |
269 | __ctype_print | __ctype_lower, /* lower accented */ |
270 | __ctype_print | __ctype_lower, /* lower accented */ |
271 | __ctype_print | __ctype_lower, /* lower accented */ |
272 | __ctype_print | __ctype_lower, /* lower accented */ |
273 | __ctype_print | __ctype_lower, /* lower accented */ |
274 | __ctype_print | __ctype_lower, /* lower accented */ |
275 | __ctype_print | __ctype_punct, /* punctuation */ |
276 | __ctype_print | __ctype_lower, /* lower accented */ |
277 | __ctype_print | __ctype_lower, /* lower accented */ |
278 | __ctype_print | __ctype_lower, /* lower accented */ |
279 | __ctype_print | __ctype_lower, /* lower accented */ |
280 | __ctype_print | __ctype_lower, /* lower accented */ |
281 | __ctype_print | __ctype_lower, /* lower accented */ |
282 | __ctype_print | __ctype_lower, /* lower accented */ |
283 | __ctype_print | __ctype_lower, /* lower accented */ |
284 | }; |