1 /* 2 * Copyright 2005-2010 Haiku Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _WCTYPE_H_ 6 #define _WCTYPE_H_ 7 8 9 #include <wchar.h> 10 11 typedef int wctrans_t; 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 extern int iswblank(wint_t wc); 18 19 extern wint_t towctrans(wint_t wc, wctrans_t transition); 20 extern wint_t towlower(wint_t wc); 21 extern wint_t towupper(wint_t wc); 22 23 extern wctrans_t wctrans(const char *charClass); 24 extern wctype_t wctype(const char *property); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif /* _WCTYPE_H_ */ 31