__CcsidType() — Return coded character set ID type
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
z/OS® UNIX |
both | z/OS V1R2 |
Format
#include <_Ccsid.h>
__csType __CcsidType(__ccsid_t Ccsid);
General description
__CcsidType() returns a __csType value which indicates the corresponding coded character set ID type.
Returned value
If Ccsid is
valid, __CcsidType() returns one of the following __csType values,
which are defined in <_Ccsid.h>:
- _CSTYPE_EBCDIC
- _CSTYPE_ASCII
- _CSTYPE_UCS2
- _CSTYPE_UTF8
- _CSTYPE_UTF16
- _CSTYPE_UTF32
If Ccsid is not valid, __CcsidType() returns _CSTYPE_INVALID.