]>
Commit | Line | Data |
---|---|---|
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 | 18 | iswctype \- 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 | |
26 | If \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 | 30 | function returns nonzero. |
c13182ef MK |
31 | Otherwise it |
32 | returns zero. | |
cab87712 MK |
33 | If \fIwc\fP is |
34 | .BR WEOF , | |
35 | zero is returned. | |
fea681da | 36 | .PP |
988db661 | 37 | \fIdesc\fP must be a character property descriptor |
dbe21e1d | 38 | returned by the |
01b844cc | 39 | .BR wctype (3) |
fea681da | 40 | function. |
47297adb | 41 | .SH RETURN VALUE |
60a90ecd MK |
42 | The |
43 | .BR iswctype () | |
c7094399 | 44 | function returns nonzero if |
aecf31c0 | 45 | the \fIwc\fP has the designated |
c13182ef MK |
46 | property. |
47 | Otherwise it returns 0. | |
47297adb | 48 | .SH CONFORMING TO |
68e1685c | 49 | C99. |
e37e3282 | 50 | .SH NOTES |
d9bfdb9c | 51 | The behavior of |
e37e3282 | 52 | .BR iswctype () |
1274071a MK |
53 | depends on the |
54 | .B LC_CTYPE | |
55 | category of the | |
e37e3282 | 56 | current 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) |