DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

wcsncat(S)


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(M), wcscat(S)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005