]>
Commit | Line | Data |
---|---|---|
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 |
14 | wcscat \- concatenate two wide-character strings | |
39dd14ba AC |
15 | .SH LIBRARY |
16 | Standard 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 |
26 | The |
27 | .BR wcscat () | |
28 | function is the wide-character equivalent | |
29 | of the | |
30 | .BR strcat (3) | |
31 | function. | |
40aa0db0 MK |
32 | It copies the wide-character string pointed to by |
33 | .IR src , | |
b957f81f | 34 | including the terminating null wide character (L\[aq]\e0\[aq]), |
40aa0db0 MK |
35 | to the end of the wide-character string pointed to by |
36 | .IR dest . | |
c6d039a3 | 37 | .P |
fea681da | 38 | The strings may not overlap. |
c6d039a3 | 39 | .P |
fea681da | 40 | The programmer must ensure that there is room for at least |
d3edf78f | 41 | .IR wcslen(dest) + wcslen(src) +1 |
40aa0db0 MK |
42 | wide characters at |
43 | .IR dest . | |
47297adb | 44 | .SH RETURN VALUE |
60a90ecd | 45 | .BR wcscat () |
40aa0db0 MK |
46 | returns |
47 | .IR dest . | |
05fcab74 | 48 | .SH ATTRIBUTES |
62b15b6d PH |
49 | For an explanation of the terms used in this section, see |
50 | .BR attributes (7). | |
51 | .TS | |
52 | allbox; | |
c466875e | 53 | lbx lb lb |
62b15b6d PH |
54 | l l l. |
55 | Interface Attribute Value | |
56 | T{ | |
9e54434e BR |
57 | .na |
58 | .nh | |
05fcab74 | 59 | .BR wcscat () |
62b15b6d PH |
60 | T} Thread safety MT-Safe |
61 | .TE | |
3113c7f3 | 62 | .SH STANDARDS |
4131356c AC |
63 | C11, POSIX.1-2008. |
64 | .SH HISTORY | |
65 | POSIX.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) |