vfs: check userland buffers before reading them.
[haiku.git] / headers / posix / wctype.h
blob00d7776542397be4aa88c6700f33b10d630c2237
1 /*
2 * Copyright 2005-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
4 */
5 #ifndef _WCTYPE_H_
6 #define _WCTYPE_H_
9 #include <wchar.h>
11 typedef int wctrans_t;
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
17 extern int iswalnum(wint_t wc);
18 extern int iswalpha(wint_t wc);
19 extern int iswcntrl(wint_t wc);
20 extern int iswctype(wint_t wc, wctype_t desc);
21 extern int iswdigit(wint_t wc);
22 extern int iswgraph(wint_t wc);
23 extern int iswlower(wint_t wc);
24 extern int iswprint(wint_t wc);
25 extern int iswpunct(wint_t wc);
26 extern int iswspace(wint_t wc);
27 extern int iswupper(wint_t wc);
28 extern int iswxdigit(wint_t wc);
30 extern int iswblank(wint_t wc);
32 extern wint_t towctrans(wint_t wc, wctrans_t transition);
33 extern wint_t towlower(wint_t wc);
34 extern wint_t towupper(wint_t wc);
36 extern wctrans_t wctrans(const char *charClass);
37 extern wctype_t wctype(const char *property);
39 #ifdef __cplusplus
41 #endif
43 #endif /* _WCTYPE_H_ */