1WCSNCAT(3)                 Linux Programmer's Manual                WCSNCAT(3)
2
3
4

NAME

6       wcsncat - concatenate two wide-character strings
7

SYNOPSIS

9       #include <wchar.h>
10
11       wchar_t *wcsncat(wchar_t *dest, const wchar_t *src, size_t n);
12

DESCRIPTION

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

RETURN VALUE

26       wcsncat() returns dest.
27

ATTRIBUTES

29       For  an  explanation  of  the  terms  used   in   this   section,   see
30       attributes(7).
31
32       ┌──────────┬───────────────┬─────────┐
33Interface Attribute     Value   
34       ├──────────┼───────────────┼─────────┤
35wcsncat() │ Thread safety │ MT-Safe │
36       └──────────┴───────────────┴─────────┘

CONFORMING TO

38       POSIX.1-2001, POSIX.1-2008, C99.
39

SEE ALSO

41       strncat(3), wcscat(3)
42

COLOPHON

44       This  page  is  part of release 4.16 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)
Impressum