]>
git.saurik.com Git - apple/libc.git/blob - internat/NXCType.h
2 * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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
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.
21 * @APPLE_LICENSE_HEADER_END@
25 /* Copyright (c) 1990 NeXT, Inc. - 8/21/90 RM */
26 /* patterned after ctype.h ; for 8-bit encoding, Europe only */
33 extern int NXIsAlNum(unsigned c
);
34 extern int NXIsAlpha(unsigned c
);
35 extern int NXIsCntrl(unsigned c
);
36 extern int NXIsDigit(unsigned c
);
37 extern int NXIsGraph(unsigned c
);
38 extern int NXIsLower(unsigned c
);
39 extern int NXIsPrint(unsigned c
);
40 extern int NXIsPunct(unsigned c
);
41 extern int NXIsSpace(unsigned c
);
42 extern int NXIsUpper(unsigned c
);
43 extern int NXIsXDigit(unsigned c
);
44 extern int _NXToLower(unsigned c
);
45 extern int _NXToUpper(unsigned c
);
46 extern int NXToLower(unsigned c
);
47 extern int NXToUpper(unsigned c
);
48 extern int NXIsAscii(unsigned c
);
49 extern unsigned char *NXToAscii(unsigned c
);
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.
56 extern const unsigned int _NX_CTypeTable_
[]; /* char types */
57 extern const unsigned char _NX_ULTable_
[]; /* case conversion table */
59 #endif /* _NXCTYPE_H */