1/*
2 * Copyright 2010, Oliver Tappe, zooey@hirschkaefer.de.
3 * Distributed under the terms of the MIT License.
4 */
5#ifndef _POSIX_CTYPE_H
6#define _POSIX_CTYPE_H
7
8
9namespace BPrivate {
10namespace Libroot {
11
12
13/*
14 * The following arrays have 384 elements where the elements at index -128..-2
15 * mirror the elements at index 128..255 (to protect against invocations of
16 * ctype macros with negative character values).
17 * The element at index -1 is a dummy element containing the neutral/identity
18 * value used when the array is accessed as in 'isblank(EOF)' (i.e. with
19 * index -1).
20 */
21extern const unsigned short gPosixClassInfo[384];
22extern const int gPosixToLowerMap[384];
23extern const int gPosixToUpperMap[384];
24
25
26}	// namespace Libroot
27}	// namespace BPrivate
28
29
30#endif	// _POSIX_CTYPE_H
31