1 // -*- C++ -*- 2 //===--------------------------- wctype.h ---------------------------------===// 3 // 4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 5 // See https://llvm.org/LICENSE.txt for license information. 6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 // 8 //===----------------------------------------------------------------------===// 9 10 #ifndef _LIBCPP_WCTYPE_H 11 #define _LIBCPP_WCTYPE_H 12 13 /* 14 wctype.h synopsis 15 16 Macros: 17 18 WEOF 19 20 Types: 21 22 wint_t 23 wctrans_t 24 wctype_t 25 26 int iswalnum(wint_t wc); 27 int iswalpha(wint_t wc); 28 int iswblank(wint_t wc); // C99 29 int iswcntrl(wint_t wc); 30 int iswdigit(wint_t wc); 31 int iswgraph(wint_t wc); 32 int iswlower(wint_t wc); 33 int iswprint(wint_t wc); 34 int iswpunct(wint_t wc); 35 int iswspace(wint_t wc); 36 int iswupper(wint_t wc); 37 int iswxdigit(wint_t wc); 38 int iswctype(wint_t wc, wctype_t desc); 39 wctype_t wctype(const char* property); 40 wint_t towlower(wint_t wc); 41 wint_t towupper(wint_t wc); 42 wint_t towctrans(wint_t wc, wctrans_t desc); 43 wctrans_t wctrans(const char* property); 44 45 */ 46 47 #include <__config> 48 49 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 50 #pragma GCC system_header 51 #endif 52 53 #include_next <wctype.h> 54 55 #ifdef __cplusplus 56 57 #undef iswalnum 58 #undef iswalpha 59 #undef iswblank 60 #undef iswcntrl 61 #undef iswdigit 62 #undef iswgraph 63 #undef iswlower 64 #undef iswprint 65 #undef iswpunct 66 #undef iswspace 67 #undef iswupper 68 #undef iswxdigit 69 #undef iswctype 70 #undef wctype 71 #undef towlower 72 #undef towupper 73 #undef towctrans 74 #undef wctrans 75 76 #endif // __cplusplus 77 78 #endif // _LIBCPP_WCTYPE_H 79