Obtains a handle for valid property names in the current locale for wide characters.
Standard C library (libc.a).
wctype_t wctype ( Property)
const char *Property;
wctype_t get_wctype ( 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.
|Property||Points to a string that identifies a generic character class for which
code set-specific information is required. The basic character classes
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 (setlocale Subroutine) subroutine, towlower (towlower Subroutine) subroutine, towupper (towupper Subroutine) subroutine.
National Language Support Overview for Programming, Subroutines Overview, Understan ding Wide Character Classification Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.