llvm::enableAutoConversion

enableAutoConversion overloads

Synopses

Declared in <llvm/Support/AutoConvert.h>

Enable automatic ASCII/EBCDIC conversion for a file descriptor.

std::error_code
enableAutoConversion(int FD);
» more...

Enable automatic conversion for a file descriptor with a specific CCSID.

std::error_code
enableAutoConversion(
    int FD,
    int ccsid);
» more...

Return Value

A default-constructed error_code on success, otherwise the platform error from enabling conversion.

Parameters

NameDescription
FDThe file descriptor.
ccsidThe coded character set identifier for the file content.