#ifndef _WCTYPE_H
#include
#include
#ifndef __need_iswxxx
# define _WCTYPE_H 1
# define __need_wint_t
# include
# ifndef _WINT_T
# define _WINT_T
typedef unsigned int wint_t;
# else
# ifdef __USE_ISOC99
__USING_NAMESPACE_C99(wint_t)
# endif
__END_NAMESPACE_C99
# endif
# ifndef WEOF
# define WEOF (0xffffffffu)
# endif
#endif
#undef __need_iswxxx
#ifndef __iswxxx_defined
# define __iswxxx_defined 1
__BEGIN_NAMESPACE_C99
typedef unsigned long int wctype_t;
__END_NAMESPACE_C99
# ifndef _ISwbit
# include
# if __BYTE_ORDER == __BIG_ENDIAN
# define _ISwbit(bit) (1 << (bit))
# else
# define _ISwbit(bit) \
((bit) < 8 ? (int) ((1UL << (bit)) << 24) \
: ((bit) < 16 ? (int) ((1UL << (bit)) << 8) \
: ((bit) < 24 ? (int) ((1UL << (bit)) >> 8) \
: (int) ((1UL << (bit)) >> 24))))
# endif
enum
{
__ISwupper = 0,
__ISwlower = 1,
__ISwalpha = 2,
__ISwdigit = 3,
__ISwxdigit = 4,
__ISwspace = 5,
__ISwprint = 6,
__ISwgraph = 7,
__ISwblank = 8,
__ISwcntrl = 9,
__ISwpunct = 10,
__ISwalnum = 11,
_ISwupper = _ISwbit (__ISwupper),
_ISwlower = _ISwbit (__ISwlower),
_ISwalpha = _ISwbit (__ISwalpha),
_ISwdigit = _ISwbit (__ISwdigit),
_ISwxdigit = _ISwbit (__ISwxdigit),
_ISwspace = _ISwbit (__ISwspace),
_ISwprint = _ISwbit (__ISwprint),
_ISwgraph = _ISwbit (__ISwgraph),
_ISwblank = _ISwbit (__ISwblank),
_ISwcntrl = _ISwbit (__ISwcntrl),
_ISwpunct = _ISwbit (__ISwpunct),
_ISwalnum = _ISwbit (__ISwalnum)
};
# endif
__BEGIN_DECLS
__BEGIN_NAMESPACE_C99
extern int iswalnum (wint_t __wc) __THROW;
extern int iswalpha (wint_t __wc) __THROW;
extern int iswcntrl (wint_t __wc) __THROW;
extern int iswdigit (wint_t __wc) __THROW;
extern int iswgraph (wint_t __wc) __THROW;
extern int iswlower (wint_t __wc) __THROW;
extern int iswprint (wint_t __wc) __THROW;
extern int iswpunct (wint_t __wc) __THROW;
extern int iswspace (wint_t __wc) __THROW;
extern int iswupper (wint_t __wc) __THROW;
extern int iswxdigit (wint_t __wc) __THROW;
# ifdef __USE_ISOC99
extern int iswblank (wint_t __wc) __THROW;
# endif
extern wctype_t wctype (__const char *__property) __THROW;
extern int iswctype (wint_t __wc, wctype_t __desc) __THROW;
__END_NAMESPACE_C99
-mapping functions: 7.15.3.1.
*/
__BEGIN_NAMESPACE_C99
typedef __const __int32_t *wctrans_t;
__END_NAMESPACE_C99
#ifdef __USE_GNU
__USING_NAMESPACE_C99(wctrans_t)
#endif
__BEGIN_NAMESPACE_C99
extern wint_t towlower (wint_t __wc) __THROW;
extern wint_t towupper (wint_t __wc) __THROW;
__END_NAMESPACE_C99
__END_DECLS
#endif
#ifdef _WCTYPE_H
__BEGIN_DECLS
__BEGIN_NAMESPACE_C99
extern wctrans_t wctrans (__const char *__property) __THROW;
extern wint_t towctrans (wint_t __wc, wctrans_t __desc) __THROW;
__END_NAMESPACE_C99
# ifdef __USE_GNU
# include
extern int iswalnum_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswalpha_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswcntrl_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswdigit_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswgraph_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswlower_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswprint_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswpunct_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswspace_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswupper_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswxdigit_l (wint_t __wc, __locale_t __locale) __THROW;
extern int iswblank_l (wint_t __wc, __locale_t __locale) __THROW;
extern wctype_t wctype_l (__const char *__property, __locale_t __locale)
__THROW;
extern int iswctype_l (wint_t __wc, wctype_t __desc, __locale_t __locale)
__THROW;
-mapping functions.
*/
extern wint_t towlower_l (wint_t __wc, __locale_t __locale) __THROW;
extern wint_t towupper_l (wint_t __wc, __locale_t __locale) __THROW;
extern wctrans_t wctrans_l (__const char *__property, __locale_t __locale)
__THROW;
extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
__locale_t __locale) __THROW;
# endif
__END_DECLS
#endif
#endif
|