1wcscat(3)                  Library Functions Manual                  wcscat(3)
2
3
4

NAME

6       wcscat - concatenate two wide-character strings
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

12       #include <wchar.h>
13
14       wchar_t *wcscat(wchar_t *restrict dest, const wchar_t *restrict src);
15

DESCRIPTION

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

RETURN VALUE

28       wcscat() returns dest.
29

ATTRIBUTES

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

STANDARDS

41       C11, POSIX.1-2008.
42

HISTORY

44       POSIX.1-2001, C99.
45

SEE ALSO

47       strcat(3), wcpcpy(3), wcscpy(3), wcsncat(3)
48
49
50
51Linux man-pages 6.05              2023-07-20                         wcscat(3)
Impressum