2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License (the "License").
2N/A * You may not use this file except in compliance with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A
2N/A/*
2N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A * Use is subject to license terms.
2N/A */
2N/A
2N/A/* Copyright (c) 1988 AT&T */
2N/A/* All Rights Reserved */
2N/A
2N/A#pragma ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A#pragma weak _ctype = __ctype
2N/A
2N/A#include "lint.h"
2N/A#include <locale.h>
2N/A#include "_locale.h"
2N/A#include <ctype.h>
2N/A#include <sys/types.h>
2N/A
2N/Aunsigned char __ctype[SZ_TOTAL] =
2N/A{
2N/A 0, /* EOF */
2N/A _C, _C, _C, _C, _C, _C, _C, _C,
2N/A _C, _S|_C, _S|_C, _S|_C, _S|_C, _S|_C, _C, _C,
2N/A _C, _C, _C, _C, _C, _C, _C, _C,
2N/A _C, _C, _C, _C, _C, _C, _C, _C,
2N/A _S|_B, _P, _P, _P, _P, _P, _P, _P,
2N/A _P, _P, _P, _P, _P, _P, _P, _P,
2N/A _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X, _N|_X,
2N/A _N|_X, _N|_X, _P, _P, _P, _P, _P, _P,
2N/A _P, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U|_X, _U,
2N/A _U, _U, _U, _U, _U, _U, _U, _U,
2N/A _U, _U, _U, _U, _U, _U, _U, _U,
2N/A _U, _U, _U, _P, _P, _P, _P, _P,
2N/A _P, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L|_X, _L,
2N/A _L, _L, _L, _L, _L, _L, _L, _L,
2N/A _L, _L, _L, _L, _L, _L, _L, _L,
2N/A _L, _L, _L, _P, _P, _P, _P, _C,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A
2N/A/* tolower() and toupper() conversion table */ 0,
2N/A 0, 1, 2, 3, 4, 5, 6, 7,
2N/A 8, 9, 10, 11, 12, 13, 14, 15,
2N/A 16, 17, 18, 19, 20, 21, 22, 23,
2N/A 24, 25, 26, 27, 28, 29, 30, 31,
2N/A 32, 33, 34, 35, 36, 37, 38, 39,
2N/A 40, 41, 42, 43, 44, 45, 46, 47,
2N/A 48, 49, 50, 51, 52, 53, 54, 55,
2N/A 56, 57, 58, 59, 60, 61, 62, 63,
2N/A 64, 97, 98, 99, 100, 101, 102, 103,
2N/A 104, 105, 106, 107, 108, 109, 110, 111,
2N/A 112, 113, 114, 115, 116, 117, 118, 119,
2N/A 120, 121, 122, 91, 92, 93, 94, 95,
2N/A 96, 65, 66, 67, 68, 69, 70, 71,
2N/A 72, 73, 74, 75, 76, 77, 78, 79,
2N/A 80, 81, 82, 83, 84, 85, 86, 87,
2N/A 88, 89, 90, 123, 124, 125, 126, 127,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A 0, 0, 0, 0, 0, 0, 0, 0,
2N/A/* CSWIDTH information */
2N/A 1, 0, 0, 1, 0, 0, 1,
2N/A};
2N/A
2N/Aunsigned char _numeric[SZ_NUMERIC] =
2N/A{
2N/A '.', '\0',
2N/A};