Determines properties of a wide character.
Standard C Library (libc. a)
#include <wchar.h>
int iswctype ( WC, Property)
wint_t WC;
wctype_t Property;
int is_wctype ( WC, Property)
wint_t WC;
wctype_t Property;
The iswctype subroutine tests the wide character specified by the WC parameter to determine if it has the property specified by the Property parameter. The iswctype subroutine is defined for the wide-character null value and for values in the character range of the current code set, defined in the current locale. The is_wctype subroutine is identical to the iswctype subroutine.
The iswctype subroutine adheres to X/Open Portability Guide Issue 5.
WC | Specifies the wide character to be tested. |
Property | Specifies the property for which to test. |
If the WC parameter has the property specified by the Property parameter, the iswctype subroutine returns a nonzero value. If the value specified by the WC parameter does not have the property specified by the Property parameter, the iswctype subroutine returns a value of zero. If the value specified by the WC parameter is not in the subroutine's domain, the result is undefined. If the value specified by the Property parameter is not valid (that is, not obtained by a call to the wctype subroutine, or the Property parameter has been invalidated by a subsequent call to the setlocale subroutine that has affected the LC_CTYPE category), the result is undefined.
Subroutines, Example Programs, and Libraries, Wide Character Classification Subroutines in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.
National Language Support Overview in AIX 5L Version 5.2 National Language Support Guide and Reference.