wcsncat(3C)


wcsncat -- concatenate two wide character strings with bound

Synopsis

#include <wchar.h>

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

Description

wcsncat appends at most n wide characters from the wide string ws2 to the end of the wide string ws1. Wide characters that follow a null wide character are not copied. The null wide character at the end of ws1 is overwritten by the initial wide character of ws2. A terminating null wide character is always appended to the result. The behavior is undefined if copying occurs between overlapping objects. This function does not check for an overflow condition of the array pointed to by ws1.

Return values

wcsncat returns ws1.

References

wchar(5), wcscat(3C)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004