2005-05-18 19:02:09 +04:00
|
|
|
/*
|
2012-07-19 22:11:40 +04:00
|
|
|
* Copyright 2005-2012 Haiku, Inc. All Rights Reserved.
|
2005-05-18 19:02:09 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _WCTYPE_H_
|
|
|
|
#define _WCTYPE_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include <wchar.h>
|
|
|
|
|
2010-07-24 03:13:00 +04:00
|
|
|
typedef int wctrans_t;
|
2005-05-18 19:02:09 +04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2011-05-30 22:44:22 +04:00
|
|
|
extern int iswalnum(wint_t wc);
|
|
|
|
extern int iswalpha(wint_t wc);
|
|
|
|
extern int iswcntrl(wint_t wc);
|
|
|
|
extern int iswctype(wint_t wc, wctype_t desc);
|
|
|
|
extern int iswdigit(wint_t wc);
|
|
|
|
extern int iswgraph(wint_t wc);
|
|
|
|
extern int iswlower(wint_t wc);
|
|
|
|
extern int iswprint(wint_t wc);
|
|
|
|
extern int iswpunct(wint_t wc);
|
|
|
|
extern int iswspace(wint_t wc);
|
|
|
|
extern int iswupper(wint_t wc);
|
|
|
|
extern int iswxdigit(wint_t wc);
|
|
|
|
|
2005-05-18 19:02:09 +04:00
|
|
|
extern int iswblank(wint_t wc);
|
2010-12-22 02:13:47 +03:00
|
|
|
|
2010-07-24 03:13:00 +04:00
|
|
|
extern wint_t towctrans(wint_t wc, wctrans_t transition);
|
2005-05-18 19:02:09 +04:00
|
|
|
extern wint_t towlower(wint_t wc);
|
|
|
|
extern wint_t towupper(wint_t wc);
|
|
|
|
|
|
|
|
extern wctrans_t wctrans(const char *charClass);
|
|
|
|
extern wctype_t wctype(const char *property);
|
|
|
|
|
2006-03-15 02:17:32 +03:00
|
|
|
#ifdef __cplusplus
|
2005-05-18 19:02:09 +04:00
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* _WCTYPE_H_ */
|