WCTYPE(3) NEWLIB WCTYPE(3)NAME
3.28 `wctype'--get wide-character classification type
SYNOPSIS
#include <wctype.h>
wctype_t wctype(const char *C);
DESCRIPTION
`wctype' is a function which takes a string C and gives back the appro‐
priate wctype_t type value associated with the string, if one exists.
The following values are guaranteed to be recognized: "alnum", "alpha",
"blank", "cntrl", "digit", "graph", "lower", "print", "punct", "space",
"upper", and "xdigit".
RETURNS
`wctype' returns 0 and sets `errno' to `EINVAL' if the given name is
invalid. Otherwise, it returns a valid non-zero wctype_t value.
PORTABILITY
`wctype' is C99.
No supporting OS subroutines are required.
SEE ALSOwctype is part of the library. The full documentation for is main‐
tained as a Texinfo manual. If info and are properly installed at your
site, the command
info
will give you access to the complete manual.
NEWLIB April 2010 WCTYPE(3)