1iswctype(3)                Library Functions Manual                iswctype(3)
2
3
4

NAME

6       iswctype - wide-character classification
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <wctype.h>
13
14       int iswctype(wint_t wc, wctype_t desc);
15

DESCRIPTION

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

RETURN VALUE

26       The  iswctype()  function  returns nonzero if the wc has the designated
27       property.  Otherwise, it returns 0.
28

ATTRIBUTES

30       For an  explanation  of  the  terms  used  in  this  section,  see  at‐
31       tributes(7).
32
33       ┌────────────────────────────────────────────┬───────────────┬─────────┐
34Interface                                   Attribute     Value   
35       ├────────────────────────────────────────────┼───────────────┼─────────┤
36iswctype()                                  │ Thread safety │ MT-Safe │
37       └────────────────────────────────────────────┴───────────────┴─────────┘
38

STANDARDS

40       C11, POSIX.1-2008.
41

HISTORY

43       POSIX.1-2001, C99.
44

NOTES

46       The behavior of iswctype() depends on the LC_CTYPE category of the cur‐
47       rent locale.
48

SEE ALSO

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)
Impressum