2 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
4 .\" SPDX-License-Identifier: GPL-2.0-or-later
6 .\" References consulted:
7 .\" GNU glibc-2 source code and manual
8 .\" Dinkumware C library reference http://www.dinkumware.com/
9 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .TH wctype 3 (date) "Linux man-pages (unreleased)"
14 wctype \- wide-character classification
17 .RI ( libc ", " \-lc )
20 .B #include <wctype.h>
22 .BI "wctype_t wctype(const char *" name );
27 type represents a property which a wide character may or
29 In other words, it represents a class of wide characters.
30 This type's nature is implementation-dependent, but the special value
32 denotes an invalid property.
39 to actually test whether a given
40 wide character has the property.
44 function returns a property, given by its name.
46 valid names depends on the
48 category of the current locale, but the
49 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 For an explanation of the terms used in this section, see
83 Interface Attribute Value
86 T} Thread safety MT-Safe locale