]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man3/wcscat.3
man*/: srcfix (Use .P instead of .PP or .LP)
[thirdparty/man-pages.git] / man3 / wcscat.3
CommitLineData
a1eaacb1 1'\" t
fea681da
MK
2.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3.\"
e4a74ca8 4.\" SPDX-License-Identifier: GPL-2.0-or-later
fea681da
MK
5.\"
6.\" References consulted:
7.\" GNU glibc-2 source code and manual
8.\" Dinkumware C library reference http://www.dinkumware.com/
008f1ecc 9.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
fea681da
MK
10.\" ISO/IEC 9899:1999
11.\"
4c1c5274 12.TH wcscat 3 (date) "Linux man-pages (unreleased)"
fea681da
MK
13.SH NAME
14wcscat \- concatenate two wide-character strings
39dd14ba
AC
15.SH LIBRARY
16Standard C library
8fc3b2cf 17.RI ( libc ", " \-lc )
fea681da
MK
18.SH SYNOPSIS
19.nf
20.B #include <wchar.h>
c6d039a3 21.P
454eddea
AC
22.BI "wchar_t *wcscat(wchar_t *restrict " dest \
23", const wchar_t *restrict " src );
fea681da
MK
24.fi
25.SH DESCRIPTION
60a90ecd
MK
26The
27.BR wcscat ()
28function is the wide-character equivalent
29of the
30.BR strcat (3)
31function.
40aa0db0
MK
32It copies the wide-character string pointed to by
33.IR src ,
b957f81f 34including the terminating null wide character (L\[aq]\e0\[aq]),
40aa0db0
MK
35to the end of the wide-character string pointed to by
36.IR dest .
c6d039a3 37.P
fea681da 38The strings may not overlap.
c6d039a3 39.P
fea681da 40The programmer must ensure that there is room for at least
d3edf78f 41.IR wcslen(dest) + wcslen(src) +1
40aa0db0
MK
42wide characters at
43.IR dest .
47297adb 44.SH RETURN VALUE
60a90ecd 45.BR wcscat ()
40aa0db0
MK
46returns
47.IR dest .
05fcab74 48.SH ATTRIBUTES
62b15b6d
PH
49For an explanation of the terms used in this section, see
50.BR attributes (7).
51.TS
52allbox;
c466875e 53lbx lb lb
62b15b6d
PH
54l l l.
55Interface Attribute Value
56T{
9e54434e
BR
57.na
58.nh
05fcab74 59.BR wcscat ()
62b15b6d
PH
60T} Thread safety MT-Safe
61.TE
3113c7f3 62.SH STANDARDS
4131356c
AC
63C11, POSIX.1-2008.
64.SH HISTORY
65POSIX.1-2001, C99.
47297adb 66.SH SEE ALSO
fea681da
MK
67.BR strcat (3),
68.BR wcpcpy (3),
69.BR wcscpy (3),
70.BR wcsncat (3)