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 , 4721b7821aSTim J. Robbins.Nm iswascii , 48008a2c53STim J. Robbins.Nm iswblank , 49008a2c53STim J. Robbins.Nm iswcntrl , 50008a2c53STim J. Robbins.Nm iswdigit , 51008a2c53STim J. Robbins.Nm iswgraph , 5221b7821aSTim J. Robbins.Nm iswhexnumber , 5321b7821aSTim J. Robbins.Nm iswideogram , 54008a2c53STim J. Robbins.Nm iswlower , 5521b7821aSTim J. Robbins.Nm iswnumber , 5621b7821aSTim J. Robbins.Nm iswphonogram , 57008a2c53STim J. Robbins.Nm iswprint , 58008a2c53STim J. Robbins.Nm iswpunct , 5921b7821aSTim J. Robbins.Nm iswrune , 60008a2c53STim J. Robbins.Nm iswspace , 6121b7821aSTim J. Robbins.Nm iswspecial , 62008a2c53STim J. Robbins.Nm iswupper , 63008a2c53STim J. Robbins.Nm iswxdigit 64008a2c53STim J. Robbins.Nd wide character classification utilities 65008a2c53STim J. Robbins.Sh LIBRARY 66008a2c53STim J. Robbins.Lb libc 67008a2c53STim J. Robbins.Sh SYNOPSIS 6821b7821aSTim J. Robbins.In wctype.h 69008a2c53STim J. Robbins.Ft int 70008a2c53STim J. Robbins.Fn iswalnum "wint_t wc" 71008a2c53STim J. Robbins.Ft int 72008a2c53STim J. Robbins.Fn iswalpha "wint_t wc" 73008a2c53STim J. Robbins.Ft int 74008a2c53STim J. Robbins.Fn iswblank "wint_t wc" 75008a2c53STim J. Robbins.Ft int 76008a2c53STim J. Robbins.Fn iswcntrl "wint_t wc" 77008a2c53STim J. Robbins.Ft int 78008a2c53STim J. Robbins.Fn iswdigit "wint_t wc" 79008a2c53STim J. Robbins.Ft int 80008a2c53STim J. Robbins.Fn iswgraph "wint_t wc" 81008a2c53STim J. Robbins.Ft int 82008a2c53STim J. Robbins.Fn iswlower "wint_t wc" 83008a2c53STim J. Robbins.Ft int 84008a2c53STim J. Robbins.Fn iswprint "wint_t wc" 85008a2c53STim J. Robbins.Ft int 86008a2c53STim J. Robbins.Fn iswpunct "wint_t wc" 87008a2c53STim J. Robbins.Ft int 88008a2c53STim J. Robbins.Fn iswspace "wint_t wc" 89008a2c53STim J. Robbins.Ft int 90008a2c53STim J. Robbins.Fn iswupper "wint_t wc" 91008a2c53STim J. Robbins.Ft int 92008a2c53STim J. Robbins.Fn iswxdigit "wint_t wc" 93008a2c53STim J. Robbins.Sh DESCRIPTION 94008a2c53STim J. RobbinsThe functions are character classification utility functions, 95008a2c53STim J. Robbinsfor use with wide characters 96008a2c53STim J. Robbins.Po 97008a2c53STim J. Robbins.Fa wchar_t 98008a2c53STim J. Robbinsor 99008a2c53STim J. Robbins.Fa wint_t 100008a2c53STim J. Robbins.Pc . 101008a2c53STim J. RobbinsSee description for singlebyte classification functions, like 102008a2c53STim J. Robbins.Xr isalnum 3 , 103008a2c53STim J. Robbinsfor details. 104008a2c53STim J. Robbins.Sh RETURN VALUES 105008a2c53STim J. RobbinsThe functions return zero if the character tests false and 106008a2c53STim J. Robbinsreturn non-zero if the character tests true. 107008a2c53STim J. Robbins.Sh SEE ALSO 108008a2c53STim J. Robbins.Xr isalnum 3 , 109008a2c53STim J. Robbins.Xr isalpha 3 , 11021b7821aSTim J. Robbins.Xr isascii 3 , 111008a2c53STim J. Robbins.Xr isblank 3 , 112008a2c53STim J. Robbins.Xr iscntrl 3 , 113008a2c53STim J. Robbins.Xr isdigit 3 , 114008a2c53STim J. Robbins.Xr isgraph 3 , 11521b7821aSTim J. Robbins.Xr ishexnumber 3 , 11621b7821aSTim J. Robbins.Xr isideogram 3 , 117008a2c53STim J. Robbins.Xr islower 3 , 11821b7821aSTim J. Robbins.Xr isnumber 3 , 11921b7821aSTim J. Robbins.Xr isphonogram 3 , 120008a2c53STim J. Robbins.Xr isprint 3 , 121008a2c53STim J. Robbins.Xr ispunct 3 , 12221b7821aSTim J. Robbins.Xr isrune 3 , 123008a2c53STim J. Robbins.Xr isspace 3 , 12421b7821aSTim J. Robbins.Xr isspecial 3 , 125008a2c53STim J. Robbins.Xr isupper 3 , 12621b7821aSTim J. Robbins.Xr isxdigit 3 , 12721b7821aSTim J. Robbins.Xr wctype 3 128008a2c53STim J. Robbins.Sh STANDARDS 12921b7821aSTim J. RobbinsThese functions conform to 13021b7821aSTim J. Robbins.St -p1003.1-2001 , 13121b7821aSTim J. Robbinsexcept 13221b7821aSTim J. Robbins.Fn iswascii , 13321b7821aSTim J. Robbins.Fn iswhexnumber , 13421b7821aSTim J. Robbins.Fn iswideogram , 13521b7821aSTim J. Robbins.Fn iswnumber , 13621b7821aSTim J. Robbins.Fn iswphonogram , 13721b7821aSTim J. Robbins.Fn iswrune 13821b7821aSTim J. Robbinsand 13921b7821aSTim J. Robbins.Fn iswspecial , 14021b7821aSTim J. Robbinswhich are 14121b7821aSTim J. Robbins.Fx 14221b7821aSTim J. Robbinsextensions. 143008a2c53STim J. Robbins.Sh CAVEATS 144008a2c53STim J. RobbinsThe argument to these functions must be WEOF or valid wchar_t 145008a2c53STim J. Robbinsvalue with current locale; otherwise, the result is undefined. 146