nw::ut::wcsncpy Function

Syntax

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
);

List of Overloaded Member Functions

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.

Description of wcsncpy ( wchar_t *, std::size_t, const wchar_t * )

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.

Description of wcsncpy ( wchar_t *, std::size_t, const wchar_t *, std::size_t )

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