Chapter Contents

Previous

Next
iswalnum

iswalnum



Alphanumeric Wide Character Test

Portability: ISO/ANSI conforming, UNIX compatible


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

#include <wctype.h>

int iswalnum(wint_t wc)


DESCRIPTION

iswalnum tests a wide character value wc to determine whether it is an alphabetic character (uppercase or lowercase) or a numeric character. Specifically, iswalnum checks whether iswalpha or iswdigit is true for wc.


RETURN VALUE

iswalnum returns 0 if the wide character is not alphanumeric, or a nonzero value if it is alphanumeric. If the argument is WEOF (Wide End Of File macro), 0 is returned.


CAUTION

The effect of iswalnum on a non-wide character argument other than WEOF is undefined. Do not assume that iswalnum returns either a 0 or a 1.


RELATED FUNCTIONS

iswalpha, iswdigit


SEE ALSO


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.