xref: /original-bsd/lib/libc/locale/ctype.c (revision e59fb703)
1 /*
2  * Copyright (c) 1989 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  */
7 
8 #if defined(LIBC_SCCS) && !defined(lint)
9 static char sccsid[] = "@(#)ctype.c	5.6 (Berkeley) 06/01/90";
10 #endif /* LIBC_SCCS and not lint */
11 
12 #include <ctype.h>
13 
14 char _ctype_[1 + 256] = {
15 	0,
16 	_C,	_C,	_C,	_C,	_C,	_C,	_C,	_C,
17 	_C,	_C|_S,	_C|_S,	_C|_S,	_C|_S,	_C|_S,	_C,	_C,
18 	_C,	_C,	_C,	_C,	_C,	_C,	_C,	_C,
19 	_C,	_C,	_C,	_C,	_C,	_C,	_C,	_C,
20 	_S|_B,	_P,	_P,	_P,	_P,	_P,	_P,	_P,
21 	_P,	_P,	_P,	_P,	_P,	_P,	_P,	_P,
22 	_N,	_N,	_N,	_N,	_N,	_N,	_N,	_N,
23 	_N,	_N,	_P,	_P,	_P,	_P,	_P,	_P,
24 	_P,	_U|_X,	_U|_X,	_U|_X,	_U|_X,	_U|_X,	_U|_X,	_U,
25 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U,
26 	_U,	_U,	_U,	_U,	_U,	_U,	_U,	_U,
27 	_U,	_U,	_U,	_P,	_P,	_P,	_P,	_P,
28 	_P,	_L|_X,	_L|_X,	_L|_X,	_L|_X,	_L|_X,	_L|_X,	_L,
29 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L,
30 	_L,	_L,	_L,	_L,	_L,	_L,	_L,	_L,
31 	_L,	_L,	_L,	_P,	_P,	_P,	_P,	_C
32 };
33