1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
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.
8 .\" References consulted:
9 .\" GNU glibc-2 source code and manual
10 .\" Dinkumware C library reference http://www.dinkumware.com/
11 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
13 .\"*******************************************************************
15 .\" This file was generated with po4a. Translate the source file.
17 .\"*******************************************************************
18 .TH WCPCPY 3 2011\-10\-01 GNU "Linux Programmer's Manual"
20 wcpcpy \- ワイド文字文字列をコピーし、その末尾を指すポインタを返す
23 \fB#include <wchar.h>\fP
25 \fBwchar_t *wcpcpy(wchar_t *\fP\fIdest\fP\fB, const wchar_t *\fP\fIsrc\fP\fB);\fP
29 glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照):
38 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
46 \fBwcpcpy\fP() 関数は、 \fBstpcpy\fP(3) 関数に対応するワイド文字関数である。 この関数は \fIsrc\fP
47 が指すワイド文字文字列を、 終端の NULL ワイド文字 (L\(aq\e0\(aq) を含めて、 \fIdest\fP が指す配列にコピーする。
51 プログラマは、少なくとも \fIwcslen(src)+1\fP 文字のワイド文字 が入るだけの領域を \fIdest\fP に対して確保しなければならない。
53 \fBwcpcpy\fP() は、ワイド文字文字列 \fIdest\fP の末尾、つまり終端の NULL ワイド文字 を指すポインタを返す。
57 \fBstrcpy\fP(3), \fBwcscpy\fP(3)