Emit a call to the strncat function.

Synopsis

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

Value*
emitStrNCat(
    Value* Dest,
    Value* Src,
    Value* Size,
    IRBuilderBase& B,
    TargetLibraryInfo const* TLI);

Return Value

The strncat call, or null if unavailable.

Parameters

Name

Description

Dest

Destination C string pointer.

Src

Source C string pointer to append.

Size

Maximum number of characters to append.

B

IR builder used to create the call.

TLI

Target library info describing available libcalls.

Created with MrDocs