]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/iswctype.3
MB_CUR_MAX.3, MB_LEN_MAX.3, btowc.3, fgetwc.3, fgetws.3, fputwc.3, fputws.3, fwide...
[thirdparty/man-pages.git] / man3 / iswctype.3
CommitLineData
fea681da
MK
1.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2.\"
fe382ebf 3.\" %%%LICENSE_START(GPLv2+_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.\"
16.TH ISWCTYPE 3 1999-07-25 "GNU" "Linux Programmer's Manual"
17.SH NAME
d0f17b57 18iswctype \- wide-character classification
fea681da
MK
19.SH SYNOPSIS
20.nf
21.B #include <wctype.h>
22.sp
23.BI "int iswctype(wint_t " wc ", wctype_t " desc );
24.fi
25.SH DESCRIPTION
26If \fIwc\fP is a wide character having the character property designated by
27\fIdesc\fP (or in other words: belongs to the character class designated by
60a90ecd
MK
28\fIdesc\fP), the
29.BR iswctype ()
c7094399 30function returns nonzero.
c13182ef
MK
31Otherwise it
32returns zero.
cab87712
MK
33If \fIwc\fP is
34.BR WEOF ,
35zero is returned.
fea681da 36.PP
988db661 37\fIdesc\fP must be a character property descriptor
dbe21e1d 38returned by the
01b844cc 39.BR wctype (3)
fea681da 40function.
47297adb 41.SH RETURN VALUE
60a90ecd
MK
42The
43.BR iswctype ()
c7094399 44function returns nonzero if
aecf31c0 45the \fIwc\fP has the designated
c13182ef
MK
46property.
47Otherwise it returns 0.
47297adb 48.SH CONFORMING TO
68e1685c 49C99.
e37e3282 50.SH NOTES
d9bfdb9c 51The behavior of
e37e3282 52.BR iswctype ()
1274071a
MK
53depends on the
54.B LC_CTYPE
55category of the
e37e3282 56current locale.
47297adb 57.SH SEE ALSO
fea681da
MK
58.BR iswalnum (3),
59.BR iswalpha (3),
60.BR iswblank (3),
61.BR iswcntrl (3),
62.BR iswdigit (3),
63.BR iswgraph (3),
64.BR iswlower (3),
65.BR iswprint (3),
66.BR iswpunct (3),
67.BR iswspace (3),
68.BR iswupper (3),
69.BR iswxdigit (3),
70.BR wctype (3)