nw::ut::wcsncpy Function
size_t wcsncpy(
wchar_t * dest,
std::size_t destCount,
const wchar_t * src
);
size_t wcsncpy(
wchar_t * dest,
std::size_t destCount,
const wchar_t * src,
std::size_t srcCount
);
| wcsncpy ( wchar_t *, std::size_t, const wchar_t * ) | Copies a string. |
| wcsncpy ( wchar_t *, std::size_t, const wchar_t *, std::size_t ) | Copies a string. |
Copys the character string given by src and always adds a null termination character. Although the character string is truncated if destCount is smaller than src, a null terminator is always added.
Copies the character string given by src up to the character count given by srcCount, and always adds a null termination character. Although the character string is truncated if destCount is smaller than srcCount, a null terminator is always added.
CONFIDENTIAL