]>
Commit | Line | Data |
---|---|---|
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 | 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 | |
35cfd378 MK |
26 | If |
27 | .I wc | |
28 | is 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 ), | |
32 | the | |
60a90ecd | 33 | .BR iswctype () |
c7094399 | 34 | function returns nonzero. |
2b9b829d | 35 | Otherwise, it |
c13182ef | 36 | returns zero. |
35cfd378 MK |
37 | If |
38 | .I wc | |
39 | is | |
cab87712 MK |
40 | .BR WEOF , |
41 | zero is returned. | |
fea681da | 42 | .PP |
35cfd378 MK |
43 | .I desc |
44 | must be a character property descriptor | |
dbe21e1d | 45 | returned by the |
01b844cc | 46 | .BR wctype (3) |
fea681da | 47 | function. |
47297adb | 48 | .SH RETURN VALUE |
60a90ecd MK |
49 | The |
50 | .BR iswctype () | |
c7094399 | 51 | function returns nonzero if |
35cfd378 MK |
52 | the |
53 | .I wc | |
54 | has the designated | |
c13182ef | 55 | property. |
2b9b829d | 56 | Otherwise, it returns 0. |
07ddb3ae | 57 | .SH ATTRIBUTES |
6085438b MK |
58 | For an explanation of the terms used in this section, see |
59 | .BR attributes (7). | |
60 | .TS | |
61 | allbox; | |
62 | lb lb lb | |
63 | l l l. | |
64 | Interface Attribute Value | |
65 | T{ | |
07ddb3ae | 66 | .BR iswctype () |
6085438b MK |
67 | T} Thread safety MT-Safe |
68 | .TE | |
47297adb | 69 | .SH CONFORMING TO |
aad0b246 | 70 | POSIX.1-2001, POSIX.1-2008, C99. |
e37e3282 | 71 | .SH NOTES |
d9bfdb9c | 72 | The behavior of |
e37e3282 | 73 | .BR iswctype () |
1274071a MK |
74 | depends on the |
75 | .B LC_CTYPE | |
76 | category of the | |
e37e3282 | 77 | current 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) |