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 *restrict dest, const wchar_t *restrict src,
12                        size_t n);
13

DESCRIPTION

15       The  wcsncat()  function  is the wide-character equivalent of the strn‐
16       cat(3) function.  It copies at most n wide characters  from  the  wide-
17       character  string  pointed  to  by src to the end of the wide-character
18       string pointed to by dest, and adds a terminating null  wide  character
19       (L'\0').
20
21       The strings may not overlap.
22
23       The  programmer  must  ensure  that  there  is  room  for  at least wc‐
24       slen(dest)+n+1 wide characters at dest.
25

RETURN VALUE

27       wcsncat() returns dest.
28

ATTRIBUTES

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

CONFORMING TO

40       POSIX.1-2001, POSIX.1-2008, C99.
41

SEE ALSO

43       strncat(3), wcscat(3)
44

COLOPHON

46       This  page  is  part of release 5.13 of the Linux man-pages project.  A
47       description of the project, information about reporting bugs,  and  the
48       latest     version     of     this    page,    can    be    found    at
49       https://www.kernel.org/doc/man-pages/.
50
51
52
53GNU                               2021-03-22                        WCSNCAT(3)
Impressum