Returns the character set ID (charsetID) of a multibyte character.
Standard C Library (libc.a)
#include <stdlib.h>
int csid ( String)
const char *String;
The csid subroutine returns the charsetID of the multibyte character pointed to by the String parameter. 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.
Item | Description |
---|---|
String | 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.