MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / ImStrncpy

Function ImStrncpy

extern/imgui/imgui.cpp:1698–1705  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1696}
1697
1698void ImStrncpy(char* dst, const char* src, size_t count)
1699{
1700 if (count < 1)
1701 return;
1702 if (count > 1)
1703 strncpy(dst, src, count - 1);
1704 dst[count - 1] = 0;
1705}
1706
1707char* ImStrdup(const char* str)
1708{

Callers 4

ImGuiTextFilterMethod · 0.85
SetDragDropPayloadMethod · 0.85
InputTextExMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected