NAME

iswalpha - test for an alphabetic wide-character code

SYNOPSIS

#include <wctype.h>

int iswalpha(wint_t wc);

DESCRIPTION

The iswalpha() function tests whether wc is a wide-character code representing a character of class alpha in the program's current locale, see the Locale specification.

In all cases wc is a wint_t, the value of which must be a wide-character code corresponding to a valid character in the current locale or must equal the value of the macro WEOF. If the argument has any other value, the behaviour is undefined.

RETURN VALUE

The iswalpha() function returns non-zero if wc is an alphabetic wide-character code; otherwise it returns 0.

ERRORS

No errors are defined.

EXAMPLES

None.

APPLICATION USAGE

To ensure applications portability, especially across natural languages, only this function and those listed in the SEE ALSO section should be used for classification of wide-character codes.

FUTURE DIRECTIONS

None.

SEE ALSO

iswalnum(), iswcntrl(), iswdigit(), iswgraph(), iswlower(), iswprint(), iswpunct(), iswspace(), iswupper(), iswxdigit(), setlocale(), <wctype.h>, <wchar.h>, <stdio.h>, the Locale specification.