Obtains a handle for valid property names in the current locale for wide characters.
#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.
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.
This subroutine is part of Base Operating System (BOS) Runtime.
The wctype subroutine adheres to Systems Interface and Headers, Issue 4 of X/Open.
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 subroutine, towlower subroutine, towupper subroutine.
National Language Support Overview for Programming, Subroutines Overview, Understan ding Wide Character Classification Subroutines in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.