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.\" 34279062faSRuslan Ermilov.Dd October 3, 2002 35008a2c53STim J. Robbins.Dt ISWALNUM 3 36008a2c53STim J. Robbins.Os 37008a2c53STim J. Robbins.Sh NAME 38008a2c53STim J. Robbins.Nm iswalnum , 39008a2c53STim J. Robbins.Nm iswalpha , 4021b7821aSTim J. Robbins.Nm iswascii , 41008a2c53STim J. Robbins.Nm iswblank , 42008a2c53STim J. Robbins.Nm iswcntrl , 43008a2c53STim J. Robbins.Nm iswdigit , 44008a2c53STim J. Robbins.Nm iswgraph , 4521b7821aSTim J. Robbins.Nm iswhexnumber , 4621b7821aSTim J. Robbins.Nm iswideogram , 47008a2c53STim J. Robbins.Nm iswlower , 4821b7821aSTim J. Robbins.Nm iswnumber , 4921b7821aSTim J. Robbins.Nm iswphonogram , 50008a2c53STim J. Robbins.Nm iswprint , 51008a2c53STim J. Robbins.Nm iswpunct , 5221b7821aSTim J. Robbins.Nm iswrune , 53008a2c53STim J. Robbins.Nm iswspace , 5421b7821aSTim J. Robbins.Nm iswspecial , 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 6121b7821aSTim J. Robbins.In wctype.h 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 67677adc79STim J. Robbins.Fn iswascii "wint_t wc" 68677adc79STim J. Robbins.Ft int 69008a2c53STim J. Robbins.Fn iswblank "wint_t wc" 70008a2c53STim J. Robbins.Ft int 71008a2c53STim J. Robbins.Fn iswcntrl "wint_t wc" 72008a2c53STim J. Robbins.Ft int 73008a2c53STim J. Robbins.Fn iswdigit "wint_t wc" 74008a2c53STim J. Robbins.Ft int 75008a2c53STim J. Robbins.Fn iswgraph "wint_t wc" 76008a2c53STim J. Robbins.Ft int 77677adc79STim J. Robbins.Fn iswhexnumber "wint_t wc" 78677adc79STim J. Robbins.Ft int 79677adc79STim J. Robbins.Fn iswideogram "wint_t wc" 80677adc79STim J. Robbins.Ft int 81008a2c53STim J. Robbins.Fn iswlower "wint_t wc" 82008a2c53STim J. Robbins.Ft int 83677adc79STim J. Robbins.Fn iswnumber "wint_t wc" 84677adc79STim J. Robbins.Ft int 85677adc79STim J. Robbins.Fn iswphonogram "wint_t wc" 86677adc79STim J. Robbins.Ft int 87008a2c53STim J. Robbins.Fn iswprint "wint_t wc" 88008a2c53STim J. Robbins.Ft int 89008a2c53STim J. Robbins.Fn iswpunct "wint_t wc" 90008a2c53STim J. Robbins.Ft int 91677adc79STim J. Robbins.Fn iswrune "wint_t wc" 92677adc79STim J. Robbins.Ft int 93008a2c53STim J. Robbins.Fn iswspace "wint_t wc" 94008a2c53STim J. Robbins.Ft int 95677adc79STim J. Robbins.Fn iswspecial "wint_t wc" 96677adc79STim J. Robbins.Ft int 97008a2c53STim J. Robbins.Fn iswupper "wint_t wc" 98008a2c53STim J. Robbins.Ft int 99008a2c53STim J. Robbins.Fn iswxdigit "wint_t wc" 100008a2c53STim J. Robbins.Sh DESCRIPTION 10117f6e5b0STim J. RobbinsThe above functions are character classification utility functions, 102008a2c53STim J. Robbinsfor use with wide characters 103279062faSRuslan Ermilov.Vt ( wchar_t 104008a2c53STim J. Robbinsor 105279062faSRuslan Ermilov.Vt wint_t ) . 10617f6e5b0STim J. RobbinsSee the description for the similarly-named single byte classification 10717f6e5b0STim J. Robbinsfunctions (like 10817f6e5b0STim J. Robbins.Xr isalnum 3 ) , 109008a2c53STim J. Robbinsfor details. 110008a2c53STim J. Robbins.Sh RETURN VALUES 111008a2c53STim J. RobbinsThe functions return zero if the character tests false and 112008a2c53STim J. Robbinsreturn non-zero if the character tests true. 113008a2c53STim J. Robbins.Sh SEE ALSO 114008a2c53STim J. Robbins.Xr isalnum 3 , 115008a2c53STim J. Robbins.Xr isalpha 3 , 11621b7821aSTim J. Robbins.Xr isascii 3 , 117008a2c53STim J. Robbins.Xr isblank 3 , 118008a2c53STim J. Robbins.Xr iscntrl 3 , 119008a2c53STim J. Robbins.Xr isdigit 3 , 120008a2c53STim J. Robbins.Xr isgraph 3 , 12121b7821aSTim J. Robbins.Xr ishexnumber 3 , 12221b7821aSTim J. Robbins.Xr isideogram 3 , 123008a2c53STim J. Robbins.Xr islower 3 , 12421b7821aSTim J. Robbins.Xr isnumber 3 , 12521b7821aSTim J. Robbins.Xr isphonogram 3 , 126008a2c53STim J. Robbins.Xr isprint 3 , 127008a2c53STim J. Robbins.Xr ispunct 3 , 12821b7821aSTim J. Robbins.Xr isrune 3 , 129008a2c53STim J. Robbins.Xr isspace 3 , 13021b7821aSTim J. Robbins.Xr isspecial 3 , 131008a2c53STim J. Robbins.Xr isupper 3 , 13221b7821aSTim J. Robbins.Xr isxdigit 3 , 13321b7821aSTim J. Robbins.Xr wctype 3 134008a2c53STim J. Robbins.Sh STANDARDS 13521b7821aSTim J. RobbinsThese functions conform to 13621b7821aSTim J. Robbins.St -p1003.1-2001 , 13721b7821aSTim J. Robbinsexcept 13821b7821aSTim J. Robbins.Fn iswascii , 13921b7821aSTim J. Robbins.Fn iswhexnumber , 14021b7821aSTim J. Robbins.Fn iswideogram , 14121b7821aSTim J. Robbins.Fn iswnumber , 14221b7821aSTim J. Robbins.Fn iswphonogram , 14321b7821aSTim J. Robbins.Fn iswrune 14421b7821aSTim J. Robbinsand 14521b7821aSTim J. Robbins.Fn iswspecial , 14621b7821aSTim J. Robbinswhich are 14721b7821aSTim J. Robbins.Fx 14821b7821aSTim J. Robbinsextensions. 149008a2c53STim J. Robbins.Sh CAVEATS 15017f6e5b0STim J. RobbinsThe result of these functions is undefined unless 151279062faSRuslan Ermilovthe argument is 152279062faSRuslan Ermilov.Dv WEOF 153279062faSRuslan Ermilovor a valid 15417f6e5b0STim J. Robbins.Vt wchar_t 15517f6e5b0STim J. Robbinsvalue for the current locale. 156