1ISWCTYPE(3) Linux Programmer's Manual ISWCTYPE(3)
2
3
4
6 iswctype - wide-character classification
7
9 #include <wctype.h>
10
11 int iswctype(wint_t wc, wctype_t desc);
12
14 If wc is a wide character having the character property designated by
15 desc (or in other words: belongs to the character class designated by
16 desc), the iswctype() function returns nonzero. Otherwise, it returns
17 zero. If wc is WEOF, zero is returned.
18
19 desc must be a character property descriptor returned by the wctype(3)
20 function.
21
23 The iswctype() function returns nonzero if the wc has the designated
24 property. Otherwise, it returns 0.
25
27 For an explanation of the terms used in this section, see
28 attributes(7).
29
30 ┌───────────┬───────────────┬─────────┐
31 │Interface │ Attribute │ Value │
32 ├───────────┼───────────────┼─────────┤
33 │iswctype() │ Thread safety │ MT-Safe │
34 └───────────┴───────────────┴─────────┘
36 POSIX.1-2001, POSIX.1-2008, C99.
37
39 The behavior of iswctype() depends on the LC_CTYPE category of the cur‐
40 rent locale.
41
43 iswalnum(3), iswalpha(3), iswblank(3), iswcntrl(3), iswdigit(3), isw‐
44 graph(3), iswlower(3), iswprint(3), iswpunct(3), iswspace(3), iswup‐
45 per(3), iswxdigit(3), wctype(3)
46
48 This page is part of release 4.16 of the Linux man-pages project. A
49 description of the project, information about reporting bugs, and the
50 latest version of this page, can be found at
51 https://www.kernel.org/doc/man-pages/.
52
53
54
55GNU 2015-08-08 ISWCTYPE(3)