__isASCII() — determine character mode: ASCII or EBCDIC

Standards

Standards/Extensions C or C++ Dependencies
Language Environment both z/OS V1R2

Syntax

#include <ctype.h>

int __isASCII(void);

General description

The __isASCII() function determines the current thread's character mode of ASCII or EBCDIC. If the character mode is ASCII, it returns 1. If the character mode is EBDCIC, it returns 0.

Return values

For ASCII character mode, __isASCII() returns 1.

For EBCDIC character mode, __isASCII() returns 0.

There are no documented errnos for this function.

Related information

__ae_autoconvert_state() — returns automatic conversion state of thread

__ae_thread_setmode() — set character mode: ASCII or EBCDIC

__ae_thread_swapmode() — swap character mode to ASCII or EBCDIC