]> git.saurik.com Git - apple/libc.git/blame_incremental - internat/NXCType.h
Libc-583.tar.gz
[apple/libc.git] / internat / NXCType.h
... / ...
CommitLineData
1/*
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. Please obtain a copy of the License at
10 * http://www.opensource.apple.com/apsl/ and read it before using this
11 * file.
12 *
13 * The Original Code and all software distributed under the License are
14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
18 * Please see the License for the specific language governing rights and
19 * limitations under the License.
20 *
21 * @APPLE_LICENSE_HEADER_END@
22 */
23/* NXCType.h */
24
25/* Copyright (c) 1990 NeXT, Inc. - 8/21/90 RM */
26/* patterned after ctype.h ; for 8-bit encoding, Europe only */
27
28#ifndef _NXCTYPE_H
29#define _NXCTYPE_H
30
31#include <ctype.h>
32
33extern int NXIsAlNum(unsigned c);
34extern int NXIsAlpha(unsigned c);
35extern int NXIsCntrl(unsigned c);
36extern int NXIsDigit(unsigned c);
37extern int NXIsGraph(unsigned c);
38extern int NXIsLower(unsigned c);
39extern int NXIsPrint(unsigned c);
40extern int NXIsPunct(unsigned c);
41extern int NXIsSpace(unsigned c);
42extern int NXIsUpper(unsigned c);
43extern int NXIsXDigit(unsigned c);
44extern int _NXToLower(unsigned c);
45extern int _NXToUpper(unsigned c);
46extern int NXToLower(unsigned c);
47extern int NXToUpper(unsigned c);
48extern int NXIsAscii(unsigned c);
49extern unsigned char *NXToAscii(unsigned c);
50
51/*
52 * Data structures used by the internationized NX... versions of the
53 * ctype(3) routines. These structures are private to the above routines
54 * and should NOT be referenced by the application.
55 */
56extern const unsigned int _NX_CTypeTable_[]; /* char types */
57extern const unsigned char _NX_ULTable_[]; /* case conversion table */
58
59#endif /* _NXCTYPE_H */