OSDN Git Service

(split) LDP: Update original to LDP v3.38.
[linuxjm/LDP_man-pages.git] / original / man3 / iswctype.3
1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
2 .\"
3 .\" This is free documentation; you can redistribute it and/or
4 .\" modify it under the terms of the GNU General Public License as
5 .\" published by the Free Software Foundation; either version 2 of
6 .\" the License, or (at your option) any later version.
7 .\"
8 .\" References consulted:
9 .\"   GNU glibc-2 source code and manual
10 .\"   Dinkumware C library reference http://www.dinkumware.com/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .TH ISWCTYPE 3  1999-07-25 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 iswctype \- wide-character classification
17 .SH SYNOPSIS
18 .nf
19 .B #include <wctype.h>
20 .sp
21 .BI "int iswctype(wint_t " wc ", wctype_t " desc );
22 .fi
23 .SH DESCRIPTION
24 If \fIwc\fP is a wide character having the character property designated by
25 \fIdesc\fP (or in other words: belongs to the character class designated by
26 \fIdesc\fP), the
27 .BR iswctype ()
28 function returns nonzero.
29 Otherwise it
30 returns zero.
31 If \fIwc\fP is
32 .BR WEOF ,
33 zero is returned.
34 .PP
35 \fIdesc\fP must be a character property descriptor
36 returned by the
37 .BR wctype (3)
38 function.
39 .SH "RETURN VALUE"
40 The
41 .BR iswctype ()
42 function returns nonzero if
43 the \fIwc\fP has the designated
44 property.
45 Otherwise it returns 0.
46 .SH "CONFORMING TO"
47 C99.
48 .SH NOTES
49 The behavior of
50 .BR iswctype ()
51 depends on the
52 .B LC_CTYPE
53 category of the
54 current locale.
55 .SH "SEE ALSO"
56 .BR iswalnum (3),
57 .BR iswalpha (3),
58 .BR iswblank (3),
59 .BR iswcntrl (3),
60 .BR iswdigit (3),
61 .BR iswgraph (3),
62 .BR iswlower (3),
63 .BR iswprint (3),
64 .BR iswpunct (3),
65 .BR iswspace (3),
66 .BR iswupper (3),
67 .BR iswxdigit (3),
68 .BR wctype (3)