Emit a call to the strlcpy function.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitStrLCpy(
Value* Dest,
Value* Src,
Value* Size,
IRBuilderBase& B,
TargetLibraryInfo const* TLI);
The strlcpy call, or null if unavailable.
| Name | Description |
|---|---|
| Dest | Destination buffer pointer. |
| Src | Source C string pointer. |
| Size | Size of the destination buffer. |
| B | IR builder used to create the call. |
| TLI | Target library info describing available libcalls. |