1 /*- 2 * Copyright (c) 1988, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 */ 7 8 #ifndef lint 9 static char sccsid[] = "@(#)dctype.c 8.1 (Berkeley) 06/06/93"; 10 #endif /* not lint */ 11 12 #include "dctype.h" 13 14 unsigned char dctype[192] = { 15 /*00*/ 16 D_SPACE, 17 0, 18 0, 19 0, 20 0, 21 0, 22 0, 23 0, 24 D_PUNCT|D_PRINT, 25 D_PUNCT|D_PRINT, 26 D_PUNCT|D_PRINT, 27 D_PUNCT|D_PRINT, 28 D_PUNCT|D_PRINT, 29 D_PUNCT|D_PRINT, 30 D_PUNCT|D_PRINT, 31 D_PUNCT|D_PRINT, 32 /*10*/ 33 D_SPACE, 34 D_PUNCT|D_PRINT, 35 D_PUNCT|D_PRINT, 36 D_PUNCT|D_PRINT, 37 D_PUNCT|D_PRINT, 38 D_PUNCT|D_PRINT, 39 D_PUNCT|D_PRINT, 40 D_PUNCT|D_PRINT, 41 D_PUNCT|D_PRINT, 42 D_PUNCT|D_PRINT, 43 D_PUNCT|D_PRINT, 44 D_PUNCT|D_PRINT, 45 0, 46 0, 47 0, 48 0, 49 /*20*/ 50 D_DIGIT|D_PRINT, 51 D_DIGIT|D_PRINT, 52 D_DIGIT|D_PRINT, 53 D_DIGIT|D_PRINT, 54 D_DIGIT|D_PRINT, 55 D_DIGIT|D_PRINT, 56 D_DIGIT|D_PRINT, 57 D_DIGIT|D_PRINT, 58 D_DIGIT|D_PRINT, 59 D_DIGIT|D_PRINT, 60 0, 61 0, 62 D_PUNCT|D_PRINT, 63 D_PUNCT|D_PRINT, 64 D_PUNCT|D_PRINT, 65 D_PUNCT|D_PRINT, 66 /*30*/ 67 D_PUNCT|D_PRINT, 68 D_PUNCT|D_PRINT, 69 D_PUNCT|D_PRINT, 70 D_PUNCT|D_PRINT, 71 D_PUNCT|D_PRINT, 72 D_PUNCT|D_PRINT, 73 D_PUNCT|D_PRINT, 74 0, 75 0, 76 0, 77 0, 78 D_PUNCT|D_PRINT, 79 0, 80 D_PUNCT|D_PRINT, 81 0, 82 0, 83 /*40*/ 84 0, 85 0, 86 0, 87 0, 88 0, 89 0, 90 0, 91 0, 92 0, 93 0, 94 0, 95 0, 96 0, 97 0, 98 0, 99 0, 100 /*50*/ 101 0, 102 0, 103 0, 104 0, 105 0, 106 0, 107 0, 108 0, 109 0, 110 0, 111 0, 112 0, 113 0, 114 0, 115 0, 116 0, 117 /*60*/ 118 0, 119 0, 120 0, 121 0, 122 0, 123 0, 124 0, 125 0, 126 0, 127 0, 128 0, 129 0, 130 0, 131 0, 132 0, 133 0, 134 /*70*/ 135 0, 136 0, 137 0, 138 0, 139 0, 140 0, 141 0, 142 0, 143 0, 144 0, 145 0, 146 0, 147 0, 148 0, 149 0, 150 0, 151 /*80*/ 152 D_LOWER|D_PRINT, 153 D_LOWER|D_PRINT, 154 D_LOWER|D_PRINT, 155 D_LOWER|D_PRINT, 156 D_LOWER|D_PRINT, 157 D_LOWER|D_PRINT, 158 D_LOWER|D_PRINT, 159 D_LOWER|D_PRINT, 160 D_LOWER|D_PRINT, 161 D_LOWER|D_PRINT, 162 D_LOWER|D_PRINT, 163 D_LOWER|D_PRINT, 164 D_LOWER|D_PRINT, 165 D_LOWER|D_PRINT, 166 D_LOWER|D_PRINT, 167 D_LOWER|D_PRINT, 168 /*90*/ 169 D_LOWER|D_PRINT, 170 D_LOWER|D_PRINT, 171 D_LOWER|D_PRINT, 172 D_LOWER|D_PRINT, 173 D_LOWER|D_PRINT, 174 D_LOWER|D_PRINT, 175 D_LOWER|D_PRINT, 176 D_LOWER|D_PRINT, 177 D_LOWER|D_PRINT, 178 D_LOWER|D_PRINT, 179 0, 180 0, 181 0, 182 0, 183 0, 184 0, 185 /*A0*/ 186 D_UPPER|D_PRINT, 187 D_UPPER|D_PRINT, 188 D_UPPER|D_PRINT, 189 D_UPPER|D_PRINT, 190 D_UPPER|D_PRINT, 191 D_UPPER|D_PRINT, 192 D_UPPER|D_PRINT, 193 D_UPPER|D_PRINT, 194 D_UPPER|D_PRINT, 195 D_UPPER|D_PRINT, 196 D_UPPER|D_PRINT, 197 D_UPPER|D_PRINT, 198 D_UPPER|D_PRINT, 199 D_UPPER|D_PRINT, 200 D_UPPER|D_PRINT, 201 D_UPPER|D_PRINT, 202 /*B0*/ 203 D_UPPER|D_PRINT, 204 D_UPPER|D_PRINT, 205 D_UPPER|D_PRINT, 206 D_UPPER|D_PRINT, 207 D_UPPER|D_PRINT, 208 D_UPPER|D_PRINT, 209 D_UPPER|D_PRINT, 210 D_UPPER|D_PRINT, 211 D_UPPER|D_PRINT, 212 D_UPPER|D_PRINT, 213 0, 214 0, 215 0, 216 0, 217 D_PUNCT|D_PRINT, 218 D_PUNCT|D_PRINT, 219 }; 220