MCPcopy Create free account
hub / github.com/Phobos-developers/Phobos / strCopy

Method strCopy

src/Phobos.CRT.cpp:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <cstring>
4
5void PhobosCRT::strCopy(char* Dest, const char* Source, size_t Count)
6{
7 strncpy_s(Dest, Count, Source, Count - 1);
8 Dest[Count - 1] = 0;
9}
10
11void PhobosCRT::wstrCopy(wchar_t* Dest, const wchar_t* Source, size_t Count)
12{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected