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
23 wcslen(dest)+n+1 wide characters at dest.
24
26 wcsncat() returns dest.
27
29 For an explanation of the terms used in this section, see
30 attributes(7).
31
32 ┌──────────┬───────────────┬─────────┐
33 │Interface │ Attribute │ Value │
34 ├──────────┼───────────────┼─────────┤
35 │wcsncat() │ Thread safety │ MT-Safe │
36 └──────────┴───────────────┴─────────┘
38 POSIX.1-2001, POSIX.1-2008, C99.
39
41 strncat(3), wcscat(3)
42
44 This page is part of release 4.15 of the Linux man-pages project. A
45 description of the project, information about reporting bugs, and the
46 latest version of this page, can be found at
47 https://www.kernel.org/doc/man-pages/.
48
49
50
51GNU 2015-08-08 WCSNCAT(3)