wchar_t *wcsncpy(wchar_t *ws1,
const wchar_t *ws2, size_t n);
The wcsncpy() function copies no more than the
first n characters of the string pointed to by
ws2 to the end of the string pointed to by ws1.
If n is less than or equal to the ws2,
a NULL character is not automatically appended
to the result. However, if n is greater than the length of
ws2, then the result is padded with NULL
characters up to the length of n.
If the objects used for copying overlap, the behavior is undefined.
Is the destination string.
Is the source string.
Is the number of characters to copy.
The wcsncpy() function
returns the value of ws1.
ANSI/ISO 9899-1990/AM 1-1995.
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
- wcscat(), wcscmp(), wcscpy(), wcsncat(), wcsncmp(), wcsrchr(), wcsspn()
PTC MKS Toolkit 10.3 Documentation Build 39.