]> git.ipfire.org Git - people/ms/u-boot.git/blame - lib_generic/ctype.c
Merge with /home/hs/Atronic/u-boot
[people/ms/u-boot.git] / lib_generic / ctype.c
CommitLineData
40c85557
WD
1/*
2 * (C) Copyright 2000
3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 *
5 * See file CREDITS for list of people who contributed to this
6 * project.
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation; either version 2 of
11 * the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 * MA 02111-1307 USA
22 */
23
24/*
25 * linux/lib/ctype.c
26 *
27 * Copyright (C) 1991, 1992 Linus Torvalds
28 */
29
30#include <linux/ctype.h>
31
32unsigned char _ctype[] = {
33_C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */
34_C,_C|_S,_C|_S,_C|_S,_C|_S,_C|_S,_C,_C, /* 8-15 */
35_C,_C,_C,_C,_C,_C,_C,_C, /* 16-23 */
36_C,_C,_C,_C,_C,_C,_C,_C, /* 24-31 */
37_S|_SP,_P,_P,_P,_P,_P,_P,_P, /* 32-39 */
38_P,_P,_P,_P,_P,_P,_P,_P, /* 40-47 */
39_D,_D,_D,_D,_D,_D,_D,_D, /* 48-55 */
40_D,_D,_P,_P,_P,_P,_P,_P, /* 56-63 */
41_P,_U|_X,_U|_X,_U|_X,_U|_X,_U|_X,_U|_X,_U, /* 64-71 */
42_U,_U,_U,_U,_U,_U,_U,_U, /* 72-79 */
43_U,_U,_U,_U,_U,_U,_U,_U, /* 80-87 */
44_U,_U,_U,_P,_P,_P,_P,_P, /* 88-95 */
45_P,_L|_X,_L|_X,_L|_X,_L|_X,_L|_X,_L|_X,_L, /* 96-103 */
46_L,_L,_L,_L,_L,_L,_L,_L, /* 104-111 */
47_L,_L,_L,_L,_L,_L,_L,_L, /* 112-119 */
48_L,_L,_L,_P,_P,_P,_P,_C, /* 120-127 */
490,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 128-143 */
500,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 144-159 */
51_S|_SP,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P, /* 160-175 */
52_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P,_P, /* 176-191 */
53_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U,_U, /* 192-207 */
54_U,_U,_U,_U,_U,_U,_U,_P,_U,_U,_U,_U,_U,_U,_U,_L, /* 208-223 */
55_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L,_L, /* 224-239 */
56_L,_L,_L,_L,_L,_L,_L,_P,_L,_L,_L,_L,_L,_L,_L,_L}; /* 240-255 */