OSDN Git Service

(split) LDP man-pages の original/ を v3.29 に更新。
[linuxjm/LDP_man-pages.git] / original / man3 / iswalnum.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 ISWALNUM 3  1999-07-25 "GNU" "Linux Programmer's Manual"
15 .SH NAME
16 iswalnum \- test for alphanumeric wide character
17 .SH SYNOPSIS
18 .nf
19 .B #include <wctype.h>
20 .sp
21 .BI "int iswalnum(wint_t " wc );
22 .fi
23 .SH DESCRIPTION
24 The
25 .BR iswalnum ()
26 function is the wide-character equivalent of the
27 .BR isalnum (3)
28 function.
29 It tests whether \fIwc\fP is a wide character
30 belonging to the wide-character class "alnum".
31 .PP
32 The wide-character class "alnum" is a subclass of the wide-character class
33 "graph", and therefore also a subclass of the wide-character class "print".
34 .PP
35 Being a subclass of the wide-character class "print",
36 the wide-character class
37 "alnum" is disjoint from the wide-character class "cntrl".
38 .PP
39 Being a subclass of the wide-character class "graph",
40 the wide-character class "alnum" is disjoint from
41 the wide-character class "space" and its subclass "blank".
42 .PP
43 The wide-character class "alnum" is disjoint from the wide-character class
44 "punct".
45 .PP
46 The wide-character class "alnum" is the union of the wide-character classes
47 "alpha" and "digit".
48 As such, it also contains the wide-character class
49 "xdigit".
50 .PP
51 The wide-character class "alnum" always contains at least the letters \(aqA\(aq
52 to \(aqZ\(aq, \(aqa\(aq to \(aqz\(aq and the digits \(aq0\(aq to \(aq9\(aq.
53 .SH "RETURN VALUE"
54 The
55 .BR iswalnum ()
56 function returns nonzero
57 if \fIwc\fP is a wide character
58 belonging to the wide-character class "alnum".
59 Otherwise it returns zero.
60 .SH "CONFORMING TO"
61 C99.
62 .SH NOTES
63 The behavior of
64 .BR iswalnum ()
65 depends on the
66 .B LC_CTYPE
67 category of the
68 current locale.
69 .SH "SEE ALSO"
70 .BR isalnum (3),
71 .BR iswctype (3)