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) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */
2N/A/* All Rights Reserved */
2N/A
2N/A/*
2N/A * Portions of this source code were derived from Berkeley 4.3 BSD
2N/A * under license from the Regents of the University of California.
2N/A */
2N/A
2N/A#pragma ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A#include "lint.h"
2N/A#include <sys/types.h>
2N/A#include <strings.h>
2N/A
2N/A/*
2N/A * This array is designed for mapping upper and lower case letter
2N/A * together for a case independent comparison. The mappings are
2N/A * based upon ascii character sequences.
2N/A */
2N/Aconst char strcase_charmap[] = {
2N/A '\000', '\001', '\002', '\003', '\004', '\005', '\006', '\007',
2N/A '\010', '\011', '\012', '\013', '\014', '\015', '\016', '\017',
2N/A '\020', '\021', '\022', '\023', '\024', '\025', '\026', '\027',
2N/A '\030', '\031', '\032', '\033', '\034', '\035', '\036', '\037',
2N/A '\040', '\041', '\042', '\043', '\044', '\045', '\046', '\047',
2N/A '\050', '\051', '\052', '\053', '\054', '\055', '\056', '\057',
2N/A '\060', '\061', '\062', '\063', '\064', '\065', '\066', '\067',
2N/A '\070', '\071', '\072', '\073', '\074', '\075', '\076', '\077',
2N/A '\100', '\141', '\142', '\143', '\144', '\145', '\146', '\147',
2N/A '\150', '\151', '\152', '\153', '\154', '\155', '\156', '\157',
2N/A '\160', '\161', '\162', '\163', '\164', '\165', '\166', '\167',
2N/A '\170', '\171', '\172', '\133', '\134', '\135', '\136', '\137',
2N/A '\140', '\141', '\142', '\143', '\144', '\145', '\146', '\147',
2N/A '\150', '\151', '\152', '\153', '\154', '\155', '\156', '\157',
2N/A '\160', '\161', '\162', '\163', '\164', '\165', '\166', '\167',
2N/A '\170', '\171', '\172', '\173', '\174', '\175', '\176', '\177',
2N/A '\200', '\201', '\202', '\203', '\204', '\205', '\206', '\207',
2N/A '\210', '\211', '\212', '\213', '\214', '\215', '\216', '\217',
2N/A '\220', '\221', '\222', '\223', '\224', '\225', '\226', '\227',
2N/A '\230', '\231', '\232', '\233', '\234', '\235', '\236', '\237',
2N/A '\240', '\241', '\242', '\243', '\244', '\245', '\246', '\247',
2N/A '\250', '\251', '\252', '\253', '\254', '\255', '\256', '\257',
2N/A '\260', '\261', '\262', '\263', '\264', '\265', '\266', '\267',
2N/A '\270', '\271', '\272', '\273', '\274', '\275', '\276', '\277',
2N/A '\300', '\301', '\302', '\303', '\304', '\305', '\306', '\307',
2N/A '\310', '\311', '\312', '\313', '\314', '\315', '\316', '\317',
2N/A '\320', '\321', '\322', '\323', '\324', '\325', '\326', '\327',
2N/A '\330', '\331', '\332', '\333', '\334', '\335', '\336', '\337',
2N/A '\340', '\341', '\342', '\343', '\344', '\345', '\346', '\347',
2N/A '\350', '\351', '\352', '\353', '\354', '\355', '\356', '\357',
2N/A '\360', '\361', '\362', '\363', '\364', '\365', '\366', '\367',
2N/A '\370', '\371', '\372', '\373', '\374', '\375', '\376', '\377',
2N/A};