llvm::setFileTag

Set the tag information for a file descriptor.

Synopsis

Declared in <llvm/Support/AutoConvert.h>

std::error_code
setFileTag(
    int FD,
    int CCSID,
    bool IsText);

Description

On non-z/OS platforms this is a no-op that returns success.

Return Value

A default-constructed error_code on success, otherwise a platform error_code.

Parameters

NameDescription
FDThe file descriptor.
CCSIDThe coded character set identifier to assign.
IsTextTrue if the file should be tagged as text.