Chapter Contents

Previous

Next
iswalpha

iswalpha



Alphabetic Wide Character Test

Portability: ISO/ANSI conforming, UNIX compatible


SYNOPSIS
DESCRIPTION
RETURN VALUE
CAUTION
RELATED FUNCTIONS
SEE ALSO


SYNOPSIS

#include <wctype.h>

int iswalpha(wint_t wc)


DESCRIPTION

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


RETURN VALUE

iswalpha returns 0 if the wide character is not alphabetic, or a nonzero value if it is alphabetic. If the argument is WEOF, 0 is returned.


CAUTION

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


RELATED FUNCTIONS

iswalnum, iswcntl, iswdigit, iswlower, iswpunct, iswspace, iswupper


SEE ALSO


Chapter Contents

Previous

Next

Top of Page

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