Everything

wcsncpy


Copies a source wide string of a specified length to a destination storage area.

[Format]

#include <wchar.h>

wchar_t *wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);

[Parameters]

s1 Pointer to destination storage area

s2 Pointer to source string

n Number of characters to be copied

[Return values]

s1 value

[Remarks]

The wcsncpy function is the wide-character version of the strncpy function.