Debian Codegraph @

upstream/debian-trixie/man3/iswctype.3

raw
1 '\" t
2 .\" Copyright (c) Bruno Haible <[email protected]>
3 .\"
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\"
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
10 .\" ISO/IEC 9899:1999
11 .\"
12 .TH iswctype 3 2024-05-02 "Linux man-pages 6.9.1"
13 .SH NAME
14 iswctype \- wide-character classification
15 .SH LIBRARY
16 Standard C library
17 .RI ( libc ", " \-lc )
18 .SH SYNOPSIS
19 .nf
20 .B #include <wctype.h>
21 .P
22 .BI "int iswctype(wint_t " wc ", wctype_t " desc );
23 .fi
24 .SH DESCRIPTION
25 If
26 .I wc
27 is a wide character having the character property designated by
28 .I desc
29 (or in other words: belongs to the character class designated by
30 .IR desc ),
31 then the
32 .BR iswctype ()
33 function returns nonzero.
34 Otherwise, it
35 returns zero.
36 If
37 .I wc
38 is
39 .BR WEOF ,
40 zero is returned.
41 .P
42 .I desc
43 must be a character property descriptor
44 returned by the
45 .BR wctype (3)
46 function.
47 .SH RETURN VALUE
48 The
49 .BR iswctype ()
50 function returns nonzero if
51 the
52 .I wc
53 has the designated
54 property.
55 Otherwise, it returns 0.
56 .SH ATTRIBUTES
57 For an explanation of the terms used in this section, see
58 .BR attributes (7).
59 .TS
60 allbox;
61 lbx lb lb
62 l l l.
63 Interface Attribute Value
64 T{
65 .na
66 .nh
67 .BR iswctype ()
68 T} Thread safety MT-Safe
69 .TE
70 .SH STANDARDS
71 C11, POSIX.1-2008.
72 .SH HISTORY
73 POSIX.1-2001, C99.
74 .SH NOTES
75 The behavior of
76 .BR iswctype ()
77 depends on the
78 .B LC_CTYPE
79 category of the
80 current locale.
81 .SH SEE ALSO
82 .BR iswalnum (3),
83 .BR iswalpha (3),
84 .BR iswblank (3),
85 .BR iswcntrl (3),
86 .BR iswdigit (3),
87 .BR iswgraph (3),
88 .BR iswlower (3),
89 .BR iswprint (3),
90 .BR iswpunct (3),
91 .BR iswspace (3),
92 .BR iswupper (3),
93 .BR iswxdigit (3),
94 .BR wctype (3)