Returns the charsetID of a wide character.
Standard C Library (libc.a)
#include <stdlib.h>
int wcsid ( WC)
const wchar_t WC;
The wcsid subroutine returns the charsetID of the wchar_t character. No validation of the character is performed. The parameter must point to a value in the character range of the current code set defined in the current locale.
WC | Specifies the character to be tested. |
Successful completion returns an integer value representing the charsetID of the character. This integer can be a number from 0 through n, where n is the maximum character set defined in the CHARSETID field of the charmap. See "Understanding the Character Set Description (charmap) Source File" in AIX 5L Version 5.2 National Language Support Guide and Reference for more information.
The csid subroutine, mbstowcs subroutine.
Subroutines, Example Programs, and Libraries in AIX 5L Version 5.2 System Management Concepts: Operating System and Devices.
National Language Support Overview, Multibyte Code and Wide Character Code Conversion Subroutines, and Understanding the Character Set Description (charmap) Source File in AIX 5L Version 5.2 National Language Support Guide and Reference.