Emit a call to fputs with a string pointer and a FILE pointer.

Synopsis

Declared in <llvm/Transforms/Utils/BuildLibCalls.h>

Value*
emitFPutS(
    Value* Str,
    Value* File,
    IRBuilderBase& B,
    TargetLibraryInfo const* TLI);

Description

Str is required to be a pointer and File is a pointer to FILE.

Return Value

The fputs call, or null if unavailable.

Parameters

Name

Description

Str

C string pointer to write.

File

Pointer to the FILE stream.

B

IR builder used to create the call.

TLI

Target library info describing available libcalls.

Created with MrDocs