138137Sbostic /* 261136Sbostic * Copyright (c) 1989, 1993 361136Sbostic * The Regents of the University of California. All rights reserved. 4*65765Sbostic * (c) UNIX System Laboratories, Inc. 5*65765Sbostic * All or some portions of this file are derived from material licensed 6*65765Sbostic * to the University of California by American Telephone and Telegraph 7*65765Sbostic * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8*65765Sbostic * the permission of UNIX System Laboratories, Inc. 938137Sbostic * 1042622Sbostic * %sccs.include.redist.c% 1138137Sbostic */ 1238137Sbostic 1326547Sdonn #if defined(LIBC_SCCS) && !defined(lint) 14*65765Sbostic static char sccsid[] = "@(#)ctype.c 8.2 (Berkeley) 01/21/94"; 1538137Sbostic #endif /* LIBC_SCCS and not lint */ 1622085Smckusick 1760504Sbostic #define _U 0x01 1860504Sbostic #define _L 0x02 1960504Sbostic #define _N 0x04 2060504Sbostic #define _S 0x08 2160504Sbostic #define _P 0x10 2260504Sbostic #define _C 0x20 2360504Sbostic #define _X 0x40 2460504Sbostic #define _B 0x80 251961Swnj 2652916Sbostic char __ctype[1 + 256] = { 271961Swnj 0, 281961Swnj _C, _C, _C, _C, _C, _C, _C, _C, 2924688Sbloom _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C, 301961Swnj _C, _C, _C, _C, _C, _C, _C, _C, 311961Swnj _C, _C, _C, _C, _C, _C, _C, _C, 3224537Sbloom _S|_B, _P, _P, _P, _P, _P, _P, _P, 331961Swnj _P, _P, _P, _P, _P, _P, _P, _P, 341961Swnj _N, _N, _N, _N, _N, _N, _N, _N, 351961Swnj _N, _N, _P, _P, _P, _P, _P, _P, 361961Swnj _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U, 371961Swnj _U, _U, _U, _U, _U, _U, _U, _U, 381961Swnj _U, _U, _U, _U, _U, _U, _U, _U, 391961Swnj _U, _U, _U, _P, _P, _P, _P, _P, 401961Swnj _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L, 411961Swnj _L, _L, _L, _L, _L, _L, _L, _L, 421961Swnj _L, _L, _L, _L, _L, _L, _L, _L, 431961Swnj _L, _L, _L, _P, _P, _P, _P, _C 441961Swnj }; 4560504Sbostic 4660504Sbostic char *_ctype_ = __ctype; /* Backward compatibility. */ 47