xref: /freebsd/lib/libc/locale/iswalnum.3 (revision 008a2c53cef20b7181a1f423b242d3204de9236f)
1008a2c53STim J. Robbins.\"	$NetBSD: iswalnum.3,v 1.5 2002/07/10 14:46:10 yamt Exp $
2008a2c53STim J. Robbins.\"
3008a2c53STim J. Robbins.\" Copyright (c) 1991 The Regents of the University of California.
4008a2c53STim J. Robbins.\" All rights reserved.
5008a2c53STim J. Robbins.\"
6008a2c53STim J. Robbins.\" This code is derived from software contributed to Berkeley by
7008a2c53STim J. Robbins.\" the American National Standards Committee X3, on Information
8008a2c53STim J. Robbins.\" Processing Systems.
9008a2c53STim J. Robbins.\"
10008a2c53STim J. Robbins.\" Redistribution and use in source and binary forms, with or without
11008a2c53STim J. Robbins.\" modification, are permitted provided that the following conditions
12008a2c53STim J. Robbins.\" are met:
13008a2c53STim J. Robbins.\" 1. Redistributions of source code must retain the above copyright
14008a2c53STim J. Robbins.\"    notice, this list of conditions and the following disclaimer.
15008a2c53STim J. Robbins.\" 2. Redistributions in binary form must reproduce the above copyright
16008a2c53STim J. Robbins.\"    notice, this list of conditions and the following disclaimer in the
17008a2c53STim J. Robbins.\"    documentation and/or other materials provided with the distribution.
18008a2c53STim J. Robbins.\" 3. All advertising materials mentioning features or use of this software
19008a2c53STim J. Robbins.\"    must display the following acknowledgement:
20008a2c53STim J. Robbins.\"	This product includes software developed by the University of
21008a2c53STim J. Robbins.\"	California, Berkeley and its contributors.
22008a2c53STim J. Robbins.\" 4. Neither the name of the University nor the names of its contributors
23008a2c53STim J. Robbins.\"    may be used to endorse or promote products derived from this software
24008a2c53STim J. Robbins.\"    without specific prior written permission.
25008a2c53STim J. Robbins.\"
26008a2c53STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27008a2c53STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28008a2c53STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29008a2c53STim J. Robbins.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30008a2c53STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31008a2c53STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32008a2c53STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33008a2c53STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34008a2c53STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35008a2c53STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36008a2c53STim J. Robbins.\" SUCH DAMAGE.
37008a2c53STim J. Robbins.\"
38008a2c53STim J. Robbins.\"     @(#)isalnum.3	5.2 (Berkeley) 6/29/91
39008a2c53STim J. Robbins.\" $FreeBSD$
40008a2c53STim J. Robbins.\"
41008a2c53STim J. Robbins.Dd December 22, 2000
42008a2c53STim J. Robbins.Dt ISWALNUM 3
43008a2c53STim J. Robbins.Os
44008a2c53STim J. Robbins.Sh NAME
45008a2c53STim J. Robbins.Nm iswalnum ,
46008a2c53STim J. Robbins.Nm iswalpha ,
47008a2c53STim J. Robbins.Nm iswblank ,
48008a2c53STim J. Robbins.Nm iswcntrl ,
49008a2c53STim J. Robbins.Nm iswdigit ,
50008a2c53STim J. Robbins.Nm iswgraph ,
51008a2c53STim J. Robbins.Nm iswlower ,
52008a2c53STim J. Robbins.Nm iswprint ,
53008a2c53STim J. Robbins.Nm iswpunct ,
54008a2c53STim J. Robbins.Nm iswspace ,
55008a2c53STim J. Robbins.Nm iswupper ,
56008a2c53STim J. Robbins.Nm iswxdigit
57008a2c53STim J. Robbins.Nd wide character classification utilities
58008a2c53STim J. Robbins.Sh LIBRARY
59008a2c53STim J. Robbins.Lb libc
60008a2c53STim J. Robbins.Sh SYNOPSIS
61008a2c53STim J. Robbins.Fd #include \*[Lt]wctype.h\*[Gt]
62008a2c53STim J. Robbins.Ft int
63008a2c53STim J. Robbins.Fn iswalnum "wint_t wc"
64008a2c53STim J. Robbins.Ft int
65008a2c53STim J. Robbins.Fn iswalpha "wint_t wc"
66008a2c53STim J. Robbins.Ft int
67008a2c53STim J. Robbins.Fn iswblank "wint_t wc"
68008a2c53STim J. Robbins.Ft int
69008a2c53STim J. Robbins.Fn iswcntrl "wint_t wc"
70008a2c53STim J. Robbins.Ft int
71008a2c53STim J. Robbins.Fn iswdigit "wint_t wc"
72008a2c53STim J. Robbins.Ft int
73008a2c53STim J. Robbins.Fn iswgraph "wint_t wc"
74008a2c53STim J. Robbins.Ft int
75008a2c53STim J. Robbins.Fn iswlower "wint_t wc"
76008a2c53STim J. Robbins.Ft int
77008a2c53STim J. Robbins.Fn iswprint "wint_t wc"
78008a2c53STim J. Robbins.Ft int
79008a2c53STim J. Robbins.Fn iswpunct "wint_t wc"
80008a2c53STim J. Robbins.Ft int
81008a2c53STim J. Robbins.Fn iswspace "wint_t wc"
82008a2c53STim J. Robbins.Ft int
83008a2c53STim J. Robbins.Fn iswupper "wint_t wc"
84008a2c53STim J. Robbins.Ft int
85008a2c53STim J. Robbins.Fn iswxdigit "wint_t wc"
86008a2c53STim J. Robbins.Sh DESCRIPTION
87008a2c53STim J. RobbinsThe functions are character classification utility functions,
88008a2c53STim J. Robbinsfor use with wide characters
89008a2c53STim J. Robbins.Po
90008a2c53STim J. Robbins.Fa wchar_t
91008a2c53STim J. Robbinsor
92008a2c53STim J. Robbins.Fa wint_t
93008a2c53STim J. Robbins.Pc .
94008a2c53STim J. RobbinsSee description for singlebyte classification functions, like
95008a2c53STim J. Robbins.Xr isalnum 3 ,
96008a2c53STim J. Robbinsfor details.
97008a2c53STim J. Robbins.Sh RETURN VALUES
98008a2c53STim J. RobbinsThe functions return zero if the character tests false and
99008a2c53STim J. Robbinsreturn non-zero if the character tests true.
100008a2c53STim J. Robbins.Sh SEE ALSO
101008a2c53STim J. Robbins.Xr isalnum 3 ,
102008a2c53STim J. Robbins.Xr isalpha 3 ,
103008a2c53STim J. Robbins.Xr isblank 3 ,
104008a2c53STim J. Robbins.Xr iscntrl 3 ,
105008a2c53STim J. Robbins.Xr isdigit 3 ,
106008a2c53STim J. Robbins.Xr isgraph 3 ,
107008a2c53STim J. Robbins.Xr islower 3 ,
108008a2c53STim J. Robbins.Xr isprint 3 ,
109008a2c53STim J. Robbins.Xr ispunct 3 ,
110008a2c53STim J. Robbins.Xr isspace 3 ,
111008a2c53STim J. Robbins.Xr isupper 3 ,
112008a2c53STim J. Robbins.Xr isxdigit 3
113008a2c53STim J. Robbins.Sh STANDARDS
114008a2c53STim J. RobbinsThe functions conform to
115008a2c53STim J. Robbins.St -isoC99 .
116008a2c53STim J. Robbins.Sh CAVEATS
117008a2c53STim J. RobbinsThe argument to these functions must be WEOF or valid wchar_t
118008a2c53STim J. Robbinsvalue with current locale; otherwise, the result is undefined.
119