]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (c) Bruno Haible <haible@clisp.cons.org> |
2 | .\" | |
3 | .\" This is free documentation; you can redistribute it and/or | |
4 | .\" modify it under the terms of the GNU General Public License as | |
5 | .\" published by the Free Software Foundation; either version 2 of | |
6 | .\" the License, or (at your option) any later version. | |
7 | .\" | |
8 | .\" References consulted: | |
9 | .\" GNU glibc-2 source code and manual | |
10 | .\" Dinkumware C library reference http://www.dinkumware.com/ | |
008f1ecc | 11 | .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html |
fea681da MK |
12 | .\" ISO/IEC 9899:1999 |
13 | .\" | |
e9c23bc6 | 14 | .TH WCSCAT 3 2011-09-28 "GNU" "Linux Programmer's Manual" |
fea681da MK |
15 | .SH NAME |
16 | wcscat \- concatenate two wide-character strings | |
17 | .SH SYNOPSIS | |
18 | .nf | |
19 | .B #include <wchar.h> | |
20 | .sp | |
21 | .BI "wchar_t *wcscat(wchar_t *" dest ", const wchar_t *" src ); | |
22 | .fi | |
23 | .SH DESCRIPTION | |
60a90ecd MK |
24 | The |
25 | .BR wcscat () | |
26 | function is the wide-character equivalent | |
27 | of the | |
28 | .BR strcat (3) | |
29 | function. | |
c13182ef | 30 | It copies the wide-character string pointed to by \fIsrc\fP, |
e9c23bc6 | 31 | including the terminating null wide character (L\(aq\\0\(aq), |
f81fb444 | 32 | to the end of the wide-character string pointed to by \fIdest\fP. |
fea681da MK |
33 | .PP |
34 | The strings may not overlap. | |
35 | .PP | |
36 | The programmer must ensure that there is room for at least | |
97de53ca | 37 | \fIwcslen(dest) + wcslen(src) + 1\fP wide characters at \fIdest\fP. |
47297adb | 38 | .SH RETURN VALUE |
60a90ecd MK |
39 | .BR wcscat () |
40 | returns \fIdest\fP. | |
47297adb | 41 | .SH CONFORMING TO |
68e1685c | 42 | C99. |
47297adb | 43 | .SH SEE ALSO |
fea681da MK |
44 | .BR strcat (3), |
45 | .BR wcpcpy (3), | |
46 | .BR wcscpy (3), | |
47 | .BR wcsncat (3) |