WCSNCAT(3) Library Functions Manual WCSNCAT(3)

wcsncatconcatenate part of two wide-character strings

#include <wchar.h>

wchar_t *wcsncat(wchar_t *ws1, const wchar_t *ws2, size_t n);

The wcsncat() function appends not more than n wide-character codes (a null wide-character code and wide-character codes that follow it are not appended) from the array pointed to by ws2 to the end of the wide-character string pointed to by ws1 . The initial wide-character code of ws2 overwrites the null wide-character code at the end of ws1 . A terminating null wide-character code is always appended to the result. If copying takes place between objects that overlap, the behaviour is undefined.

The wcsncat() function returns ws1 ; no return value is reserved to indicate an error.

No errors are defined.

None.

None.

None.

wcscat(3) , <wchar.h> .

Derived from the MSE working draft.

February 1997 posix.fail