1iswctype(3) Library Functions Manual iswctype(3)
2
3
4
6 iswctype - wide-character classification
7
9 Standard C library (libc, -lc)
10
12 #include <wctype.h>
13
14 int iswctype(wint_t wc, wctype_t desc);
15
17 If wc is a wide character having the character property designated by
18 desc (or in other words: belongs to the character class designated by
19 desc), then the iswctype() function returns nonzero. Otherwise, it re‐
20 turns zero. If wc is WEOF, zero is returned.
21
22 desc must be a character property descriptor returned by the wctype(3)
23 function.
24
26 The iswctype() function returns nonzero if the wc has the designated
27 property. Otherwise, it returns 0.
28
30 For an explanation of the terms used in this section, see at‐
31 tributes(7).
32
33 ┌────────────────────────────────────────────┬───────────────┬─────────┐
34 │Interface │ Attribute │ Value │
35 ├────────────────────────────────────────────┼───────────────┼─────────┤
36 │iswctype() │ Thread safety │ MT-Safe │
37 └────────────────────────────────────────────┴───────────────┴─────────┘
38
40 C11, POSIX.1-2008.
41
43 POSIX.1-2001, C99.
44
46 The behavior of iswctype() depends on the LC_CTYPE category of the cur‐
47 rent locale.
48
50 iswalnum(3), iswalpha(3), iswblank(3), iswcntrl(3), iswdigit(3), isw‐
51 graph(3), iswlower(3), iswprint(3), iswpunct(3), iswspace(3), iswup‐
52 per(3), iswxdigit(3), wctype(3)
53
54
55
56Linux man-pages 6.04 2023-03-30 iswctype(3)