wctype_iso.h revision eec1faa811b20b01f0173edcf9179c3c6ad48243
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/* wctype.h 1.13 89/11/02 SMI; JLE */
/* from AT&T JAE 2.1 */
/* definitions for international functions */
/*
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* An application should not include this header directly. Instead it
* should be included only through the inclusion of other Sun headers.
*
* The contents of this header is limited to identifiers specified in the
* C Standard. Any new identifiers specified in future amendments to the
* C Standard must be placed in this header. If these new identifiers
* are required to also be in the C++ Standard "std" namespace, then for
* anything other than macro definitions, corresponding "using" directives
* must also be added to <wctype.h>.
*/
#ifndef _ISO_WCTYPE_ISO_H
#define _ISO_WCTYPE_ISO_H
#pragma ident "%Z%%M% %I% %E% SMI"
#include <sys/feature_tests.h>
#ifdef __cplusplus
extern "C" {
#endif
#if __cplusplus >= 199711L
#endif
#define _WINT_T
#if defined(_LP64)
typedef int wint_t;
#else
typedef long wint_t;
#endif
#endif /* !defined(_WINT_T) || __cplusplus >= 199711L */
#define _WCTYPE_T
typedef int wctype_t;
#endif
typedef unsigned int wctrans_t;
/* not XPG4 and not XPG4v2 */
#ifndef WEOF
#if __cplusplus >= 199711L
#else
#endif
#endif /* WEOF */
#endif /* not XPG4 and not XPG4v2 */
#ifdef __STDC__
/* tow* also become functions */
#else
extern int iswalnum();
extern int iswalpha();
extern int iswcntrl();
extern int iswdigit();
extern int iswgraph();
extern int iswlower();
extern int iswprint();
extern int iswpunct();
extern int iswspace();
extern int iswupper();
extern int iswxdigit();
/* tow* also become functions */
extern int iswctype();
#endif
/* bit definition for character class */
#define _E9 0x00010000
#define _E10 0x00020000
#define _E11 0x00040000
#define _E12 0x00080000
#define _E13 0x00100000
#define _E14 0x00200000
#define _E15 0x00400000
#define _E16 0x00800000
#define _E17 0x01000000
#define _E18 0x02000000
#define _E19 0x04000000
#define _E20 0x08000000
#define _E21 0x10000000
#define _E22 0x20000000
#define _E23 0x40000000
#define _E24 0x80000000
#if __cplusplus >= 199711L
}
#endif /* end of namespace std */
#ifdef __cplusplus
}
#endif
#endif /* _ISO_WCTYPE_ISO_H */