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. 18*fbbd9655SWarner Losh.\" 3. Neither the name of the University nor the names of its contributors 19008a2c53STim J. Robbins.\" may be used to endorse or promote products derived from this software 20008a2c53STim J. Robbins.\" without specific prior written permission. 21008a2c53STim J. Robbins.\" 22008a2c53STim J. Robbins.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 23008a2c53STim J. Robbins.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 24008a2c53STim J. Robbins.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 25008a2c53STim J. Robbins.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 26008a2c53STim J. Robbins.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 27008a2c53STim J. Robbins.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28008a2c53STim J. Robbins.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29008a2c53STim J. Robbins.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30008a2c53STim J. Robbins.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31008a2c53STim J. Robbins.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32008a2c53STim J. Robbins.\" SUCH DAMAGE. 33008a2c53STim J. Robbins.\" 34008a2c53STim J. Robbins.\" @(#)isalnum.3 5.2 (Berkeley) 6/29/91 35008a2c53STim J. Robbins.\" $FreeBSD$ 36008a2c53STim J. Robbins.\" 37279062faSRuslan Ermilov.Dd October 3, 2002 38008a2c53STim J. Robbins.Dt ISWALNUM 3 39008a2c53STim J. Robbins.Os 40008a2c53STim J. Robbins.Sh NAME 41008a2c53STim J. Robbins.Nm iswalnum , 42008a2c53STim J. Robbins.Nm iswalpha , 4321b7821aSTim J. Robbins.Nm iswascii , 44008a2c53STim J. Robbins.Nm iswblank , 45008a2c53STim J. Robbins.Nm iswcntrl , 46008a2c53STim J. Robbins.Nm iswdigit , 47008a2c53STim J. Robbins.Nm iswgraph , 4821b7821aSTim J. Robbins.Nm iswhexnumber , 4921b7821aSTim J. Robbins.Nm iswideogram , 50008a2c53STim J. Robbins.Nm iswlower , 5121b7821aSTim J. Robbins.Nm iswnumber , 5221b7821aSTim J. Robbins.Nm iswphonogram , 53008a2c53STim J. Robbins.Nm iswprint , 54008a2c53STim J. Robbins.Nm iswpunct , 5521b7821aSTim J. Robbins.Nm iswrune , 56008a2c53STim J. Robbins.Nm iswspace , 5721b7821aSTim J. Robbins.Nm iswspecial , 58008a2c53STim J. Robbins.Nm iswupper , 59008a2c53STim J. Robbins.Nm iswxdigit 60008a2c53STim J. Robbins.Nd wide character classification utilities 61008a2c53STim J. Robbins.Sh LIBRARY 62008a2c53STim J. Robbins.Lb libc 63008a2c53STim J. Robbins.Sh SYNOPSIS 6421b7821aSTim J. Robbins.In wctype.h 65008a2c53STim J. Robbins.Ft int 66008a2c53STim J. Robbins.Fn iswalnum "wint_t wc" 67008a2c53STim J. Robbins.Ft int 68008a2c53STim J. Robbins.Fn iswalpha "wint_t wc" 69008a2c53STim J. Robbins.Ft int 70677adc79STim J. Robbins.Fn iswascii "wint_t wc" 71677adc79STim J. Robbins.Ft int 72008a2c53STim J. Robbins.Fn iswblank "wint_t wc" 73008a2c53STim J. Robbins.Ft int 74008a2c53STim J. Robbins.Fn iswcntrl "wint_t wc" 75008a2c53STim J. Robbins.Ft int 76008a2c53STim J. Robbins.Fn iswdigit "wint_t wc" 77008a2c53STim J. Robbins.Ft int 78008a2c53STim J. Robbins.Fn iswgraph "wint_t wc" 79008a2c53STim J. Robbins.Ft int 80677adc79STim J. Robbins.Fn iswhexnumber "wint_t wc" 81677adc79STim J. Robbins.Ft int 82677adc79STim J. Robbins.Fn iswideogram "wint_t wc" 83677adc79STim J. Robbins.Ft int 84008a2c53STim J. Robbins.Fn iswlower "wint_t wc" 85008a2c53STim J. Robbins.Ft int 86677adc79STim J. Robbins.Fn iswnumber "wint_t wc" 87677adc79STim J. Robbins.Ft int 88677adc79STim J. Robbins.Fn iswphonogram "wint_t wc" 89677adc79STim J. Robbins.Ft int 90008a2c53STim J. Robbins.Fn iswprint "wint_t wc" 91008a2c53STim J. Robbins.Ft int 92008a2c53STim J. Robbins.Fn iswpunct "wint_t wc" 93008a2c53STim J. Robbins.Ft int 94677adc79STim J. Robbins.Fn iswrune "wint_t wc" 95677adc79STim J. Robbins.Ft int 96008a2c53STim J. Robbins.Fn iswspace "wint_t wc" 97008a2c53STim J. Robbins.Ft int 98677adc79STim J. Robbins.Fn iswspecial "wint_t wc" 99677adc79STim J. Robbins.Ft int 100008a2c53STim J. Robbins.Fn iswupper "wint_t wc" 101008a2c53STim J. Robbins.Ft int 102008a2c53STim J. Robbins.Fn iswxdigit "wint_t wc" 103008a2c53STim J. Robbins.Sh DESCRIPTION 10417f6e5b0STim J. RobbinsThe above functions are character classification utility functions, 105008a2c53STim J. Robbinsfor use with wide characters 106279062faSRuslan Ermilov.Vt ( wchar_t 107008a2c53STim J. Robbinsor 108279062faSRuslan Ermilov.Vt wint_t ) . 10917f6e5b0STim J. RobbinsSee the description for the similarly-named single byte classification 11017f6e5b0STim J. Robbinsfunctions (like 11117f6e5b0STim J. Robbins.Xr isalnum 3 ) , 112008a2c53STim J. Robbinsfor details. 113008a2c53STim J. Robbins.Sh RETURN VALUES 114008a2c53STim J. RobbinsThe functions return zero if the character tests false and 115008a2c53STim J. Robbinsreturn non-zero if the character tests true. 116008a2c53STim J. Robbins.Sh SEE ALSO 117008a2c53STim J. Robbins.Xr isalnum 3 , 118008a2c53STim J. Robbins.Xr isalpha 3 , 11921b7821aSTim J. Robbins.Xr isascii 3 , 120008a2c53STim J. Robbins.Xr isblank 3 , 121008a2c53STim J. Robbins.Xr iscntrl 3 , 122008a2c53STim J. Robbins.Xr isdigit 3 , 123008a2c53STim J. Robbins.Xr isgraph 3 , 12421b7821aSTim J. Robbins.Xr ishexnumber 3 , 12521b7821aSTim J. Robbins.Xr isideogram 3 , 126008a2c53STim J. Robbins.Xr islower 3 , 12721b7821aSTim J. Robbins.Xr isnumber 3 , 12821b7821aSTim J. Robbins.Xr isphonogram 3 , 129008a2c53STim J. Robbins.Xr isprint 3 , 130008a2c53STim J. Robbins.Xr ispunct 3 , 13121b7821aSTim J. Robbins.Xr isrune 3 , 132008a2c53STim J. Robbins.Xr isspace 3 , 13321b7821aSTim J. Robbins.Xr isspecial 3 , 134008a2c53STim J. Robbins.Xr isupper 3 , 13521b7821aSTim J. Robbins.Xr isxdigit 3 , 13621b7821aSTim J. Robbins.Xr wctype 3 137008a2c53STim J. Robbins.Sh STANDARDS 13821b7821aSTim J. RobbinsThese functions conform to 13921b7821aSTim J. Robbins.St -p1003.1-2001 , 14021b7821aSTim J. Robbinsexcept 14121b7821aSTim J. Robbins.Fn iswascii , 14221b7821aSTim J. Robbins.Fn iswhexnumber , 14321b7821aSTim J. Robbins.Fn iswideogram , 14421b7821aSTim J. Robbins.Fn iswnumber , 14521b7821aSTim J. Robbins.Fn iswphonogram , 14621b7821aSTim J. Robbins.Fn iswrune 14721b7821aSTim J. Robbinsand 14821b7821aSTim J. Robbins.Fn iswspecial , 14921b7821aSTim J. Robbinswhich are 15021b7821aSTim J. Robbins.Fx 15121b7821aSTim J. Robbinsextensions. 152008a2c53STim J. Robbins.Sh CAVEATS 15317f6e5b0STim J. RobbinsThe result of these functions is undefined unless 154279062faSRuslan Ermilovthe argument is 155279062faSRuslan Ermilov.Dv WEOF 156279062faSRuslan Ermilovor a valid 15717f6e5b0STim J. Robbins.Vt wchar_t 15817f6e5b0STim J. Robbinsvalue for the current locale. 159