Emit a call to stpncpy for the specified pointer arguments and length.
Declared in <llvm/Transforms/Utils/BuildLibCalls.h>
Value*
emitStpNCpy(
Value* Dst,
Value* Src,
Value* Len,
IRBuilderBase& B,
TargetLibraryInfo const* TLI);
The stpncpy call, or null if unavailable.
| Name | Description |
|---|---|
| Dst | Destination buffer pointer. |
| Src | Source C string pointer. |
| Len | Maximum number of characters to copy. |
| B | IR builder used to create the call. |
| TLI | Target library info describing available libcalls. |