]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswctype.3
fanotify_init.2, fanotify.7: Document FAN_REPORT_TID
[thirdparty/man-pages.git] / man3 / iswctype.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
89e3ffe9 3.\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
fea681da
MK
4.\" This is free documentation; you can redistribute it and/or
5.\" modify it under the terms of the GNU General Public License as
6.\" published by the Free Software Foundation; either version 2 of
7.\" the License, or (at your option) any later version.
fe382ebf 8.\" %%%LICENSE_END
fea681da
MK
9.\"
10.\" References consulted:
11.\" GNU glibc-2 source code and manual
12.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 13.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
14.\" ISO/IEC 9899:1999
15.\"
460495ca 16.TH ISWCTYPE 3 2015-08-08 "GNU" "Linux Programmer's Manual"
fea681da 17.SH NAME
d0f17b57 18iswctype \- wide-character classification
fea681da
MK
19.SH SYNOPSIS
20.nf
21.B #include <wctype.h>
68e4db0a 22.PP
fea681da
MK
23.BI "int iswctype(wint_t " wc ", wctype_t " desc );
24.fi
25.SH DESCRIPTION
35cfd378
MK
26If
27.I wc
28is a wide character having the character property designated by
29.I desc
30(or in other words: belongs to the character class designated by
31.IR desc ),
32the
60a90ecd 33.BR iswctype ()
c7094399 34function returns nonzero.
2b9b829d 35Otherwise, it
c13182ef 36returns zero.
35cfd378
MK
37If
38.I wc
39is
cab87712
MK
40.BR WEOF ,
41zero is returned.
fea681da 42.PP
35cfd378
MK
43.I desc
44must be a character property descriptor
dbe21e1d 45returned by the
01b844cc 46.BR wctype (3)
fea681da 47function.
47297adb 48.SH RETURN VALUE
60a90ecd
MK
49The
50.BR iswctype ()
c7094399 51function returns nonzero if
35cfd378
MK
52the
53.I wc
54has the designated
c13182ef 55property.
2b9b829d 56Otherwise, it returns 0.
07ddb3ae 57.SH ATTRIBUTES
6085438b
MK
58For an explanation of the terms used in this section, see
59.BR attributes (7).
60.TS
61allbox;
62lb lb lb
63l l l.
64Interface Attribute Value
65T{
07ddb3ae 66.BR iswctype ()
6085438b
MK
67T} Thread safety MT-Safe
68.TE
47297adb 69.SH CONFORMING TO
aad0b246 70POSIX.1-2001, POSIX.1-2008, C99.
e37e3282 71.SH NOTES
d9bfdb9c 72The behavior of
e37e3282 73.BR iswctype ()
1274071a
MK
74depends on the
75.B LC_CTYPE
76category of the
e37e3282 77current locale.
47297adb 78.SH SEE ALSO
fea681da
MK
79.BR iswalnum (3),
80.BR iswalpha (3),
81.BR iswblank (3),
82.BR iswcntrl (3),
83.BR iswdigit (3),
84.BR iswgraph (3),
85.BR iswlower (3),
86.BR iswprint (3),
87.BR iswpunct (3),
88.BR iswspace (3),
89.BR iswupper (3),
90.BR iswxdigit (3),
91.BR wctype (3)