Obtains a handle for valid property names in the current locale for wide characters.
Standard C library (libc.a).
#include <wchar.h>
wctype_t wctype ( Property)
const char *Property;
wctype_t get_wctype ( Property)
char *Property;
The wctype subroutine obtains a handle for valid property names for wide characters as defined in the current locale. The handle is of data type wctype_t and can be used as the WC_PROP parameter in the iswctype subroutine. Values returned by the wctype subroutine are valid until the setlocale subroutine modifies the LC_CTYPE category. The get_wctype subroutine is identical to the wctype subroutine.
The wctype subroutine adheres to X/Open Portability Guide Issue 5.
Upon successful completion, the subroutine returns a value of type wctype_t, which is a handle for valid property names in the current locale. Otherwise, it returns a value or - 1 if the Property parameter specifies a character class that is not valid for the current locale.
The iswalnum subroutine, iswalpha subroutine, iswcntrl subroutine, iswctype subroutine, iswdigit subroutine, iswgraph subroutine, iswlower subroutine, iswprint subroutine, iswpunct subroutine, iswspace subroutine, iswupper subroutine, iswxdigit subroutine, setlocale (setlocale Subroutine) subroutine, towlower (towlower Subroutine) subroutine, towupper (towupper Subroutine) subroutine.
National Language Support Overview, Wide Character Classification Subroutines in AIX 5L Version 5.2 National Language Support Guide and Reference.
Subroutines, Example Programs, and Libraries in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.