1WCSNCAT(3) Linux Programmer's Manual WCSNCAT(3)
2
3
4
6 wcsncat - concatenate two wide-character strings
7
9 #include <wchar.h>
10
11 wchar_t *wcsncat(wchar_t *dest, const wchar_t *src, size_t n);
12
14 The wcsncat() function is the wide-character equivalent of the strn‐
15 cat(3) function. It copies at most n wide characters from the wide-
16 character string pointed to by src to the end of the wide-character
17 string pointed to by dest, and adds a terminating null wide character
18 (L'\0').
19
20 The strings may not overlap.
21
22 The programmer must ensure that there is room for at least wcslen(dest)
23 + n + 1 wide characters at dest.
24
26 wcsncat() returns dest.
27
29 C99.
30
32 strncat(3), wcscat(3)
33
35 This page is part of release 3.53 of the Linux man-pages project. A
36 description of the project, and information about reporting bugs, can
37 be found at http://www.kernel.org/doc/man-pages/.
38
39
40
41GNU 2011-09-28 WCSNCAT(3)