1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" %%%LICENSE_START(GPLv2+_DOC_ONEPARA)
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.
10 .\" References consulted:
11 .\" GNU glibc-2 source code and manual
12 .\" Dinkumware C library reference http://www.dinkumware.com/
13 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
16 .TH WCTYPE 3 2014-01-22 "GNU" "Linux Programmer's Manual"
18 wctype \- wide-character classification
21 .B #include <wctype.h>
23 .BI "wctype_t wctype(const char *" name );
28 type represents a property which a wide character may or
30 In other words, it represents a class of wide characters.
31 This type's nature is implementation-dependent, but the special value
33 denotes an invalid property.
40 to actually test whether a given
41 wide character has the property.
45 function returns a property, given by its name.
47 valid names depends on the
49 category of the current locale, but the
50 following names are valid in all locales.
52 "alnum" \- realizes the \fBisalnum\fP(3) classification function
53 "alpha" \- realizes the \fBisalpha\fP(3) classification function
54 "blank" \- realizes the \fBisblank\fP(3) classification function
55 "cntrl" \- realizes the \fBiscntrl\fP(3) classification function
56 "digit" \- realizes the \fBisdigit\fP(3) classification function
57 "graph" \- realizes the \fBisgraph\fP(3) classification function
58 "lower" \- realizes the \fBislower\fP(3) classification function
59 "print" \- realizes the \fBisprint\fP(3) classification function
60 "punct" \- realizes the \fBispunct\fP(3) classification function
61 "space" \- realizes the \fBisspace\fP(3) classification function
62 "upper" \- realizes the \fBisupper\fP(3) classification function
63 "xdigit" \- realizes the \fBisxdigit\fP(3) classification function
68 function returns a property descriptor
75 .SS Multithreading (see pthreads(7))
78 function is thread-safe with exceptions.
79 It can be safely used in multithreaded applications, as long as
81 is not called to change the locale during its execution.
94 This page is part of release 3.68 of the Linux
97 A description of the project,
98 information about reporting bugs,
99 and the latest version of this page,
101 \%http://www.kernel.org/doc/man\-pages/.