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 at‐
28 tributes(7).
29
30 ┌────────────────────────────────────────────┬───────────────┬─────────┐
31 │Interface │ Attribute │ Value │
32 ├────────────────────────────────────────────┼───────────────┼─────────┤
33 │iswctype() │ Thread safety │ MT-Safe │
34 └────────────────────────────────────────────┴───────────────┴─────────┘
35
37 POSIX.1-2001, POSIX.1-2008, C99.
38
40 The behavior of iswctype() depends on the LC_CTYPE category of the cur‐
41 rent locale.
42
44 iswalnum(3), iswalpha(3), iswblank(3), iswcntrl(3), iswdigit(3), isw‐
45 graph(3), iswlower(3), iswprint(3), iswpunct(3), iswspace(3), iswup‐
46 per(3), iswxdigit(3), wctype(3)
47
49 This page is part of release 5.13 of the Linux man-pages project. A
50 description of the project, information about reporting bugs, and the
51 latest version of this page, can be found at
52 https://www.kernel.org/doc/man-pages/.
53
54
55
56GNU 2021-03-22 ISWCTYPE(3)