MCPcopy Create free account
hub / github.com/ashkulz/NppFTP / strncpy

Method strncpy

UTCP/src/UT_StrOp.cpp:188–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188void CUT_Str::strncpy(char * dest, size_t size, const char * src, size_t count)
189{
190 if (size == 0) size = 1;
191#if _MSC_VER >= 1400
192 ::strncpy_s(dest, size, src, count);
193#else
194 UNREFERENCED_PARAMETER(size);
195 ::strncpy(dest, src, count);
196# endif
197}
198
199void CUT_Str::stprintf(TCHAR * dest, size_t size, const TCHAR * src, ...)
200{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected