1 /* 2 * Copyright (c) 1986 Regents of the University of California. 3 * All rights reserved. The Berkeley software License Agreement 4 * specifies the terms and conditions for redistribution. 5 * 6 * @(#)kdb_ctype.c 7.2 (Berkeley) 12/15/86 7 */ 8 9 #include <ctype.h> 10 11 char _ctype_[1 + 256] = { 12 0, 13 _C, _C, _C, _C, _C, _C, _C, _C, 14 _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C, 15 _C, _C, _C, _C, _C, _C, _C, _C, 16 _C, _C, _C, _C, _C, _C, _C, _C, 17 _S|_B, _P, _P, _P, _P, _P, _P, _P, 18 _P, _P, _P, _P, _P, _P, _P, _P, 19 _N, _N, _N, _N, _N, _N, _N, _N, 20 _N, _N, _P, _P, _P, _P, _P, _P, 21 _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U, 22 _U, _U, _U, _U, _U, _U, _U, _U, 23 _U, _U, _U, _U, _U, _U, _U, _U, 24 _U, _U, _U, _P, _P, _P, _P, _P, 25 _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L, 26 _L, _L, _L, _L, _L, _L, _L, _L, 27 _L, _L, _L, _L, _L, _L, _L, _L, 28 _L, _L, _L, _P, _P, _P, _P, _C 29 }; 30