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

NAME

6       wcscat - concatenate two wide-character strings
7

SYNOPSIS

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

DESCRIPTION

14       The wcscat() function is the wide-character equivalent of the strcat(3)
15       function.  It copies the wide-character string pointed to by  src,  in‐
16       cluding  the terminating null wide character (L'\0'), to the end of the
17       wide-character string pointed to by dest.
18
19       The strings may not overlap.
20
21       The programmer must  ensure  that  there  is  room  for  at  least  wc‐
22       slen(dest)+wcslen(src)+1 wide characters at dest.
23

RETURN VALUE

25       wcscat() returns dest.
26

ATTRIBUTES

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

CONFORMING TO

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

SEE ALSO

41       strcat(3), wcpcpy(3), wcscpy(3), wcsncat(3)
42

COLOPHON

44       This page is part of release 5.13 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                               2021-03-22                         WCSCAT(3)
Impressum