Manual browser: iswalpha(3)

Section:
Page:
ISWALNUM(3) Library Functions Manual ISWALNUM(3)

NAME

iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigitwide character classification utilities

LIBRARY

Standard C Library (libc, -lc)

SYNOPSIS

#include <wctype.h>

int
iswalnum(wint_t wc);

int
iswalpha(wint_t wc);

int
iswblank(wint_t wc);

int
iswcntrl(wint_t wc);

int
iswdigit(wint_t wc);

int
iswgraph(wint_t wc);

int
iswlower(wint_t wc);

int
iswprint(wint_t wc);

int
iswpunct(wint_t wc);

int
iswspace(wint_t wc);

int
iswupper(wint_t wc);

int
iswxdigit(wint_t wc);

DESCRIPTION

The functions are character classification utility functions, for use with wide characters (wchar_t or wint_t). See the description of singlebyte classification functions, like isalnum(3), for details.

RETURN VALUES

The functions return zero if the character tests false and return non-zero if the character tests true.

STANDARDS

The functions conform to ISO/IEC 9899:1999 (“ISO C99”).

CAVEATS

The argument to these functions must be WEOF or a valid wchar_t value with the current locale; otherwise, the result is undefined.
December 22, 2000 NetBSD 7.0