OSDN Git Service

3d78ffa500d316bdcbaf0c0b4d601dbc2271e4b7
[linuxjm/LDP_man-pages.git] / release / man3 / wcscpy.3
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/
11 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
12 .\"   ISO/IEC 9899:1999
13 .\"
14 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
15 .\" Translated Sun Oct 17 22:19:07 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCSCPY 3  2011-09-28 "GNU" "Linux Programmer's Manual"
19 .SH 名前
20 wcscpy \- ワイド文字文字列をコピーする
21 .SH 書式
22 .nf
23 .B #include <wchar.h>
24 .sp
25 .BI "wchar_t *wcscpy(wchar_t *" dest ", const wchar_t *" src );
26 .fi
27 .SH 説明
28 .BR wcscpy ()
29 関数は、
30 .BR strcpy (3)
31 関数に対応するワイド文字関数である。
32 この関数は、\fIsrc\fP が指すワイド文字 (終端の NULL ワイド文字
33 (L\(aq\\0\(aq) を含む)を \fIdest\fP  が指す配列にコピーする。
34 .PP
35 これらの文字列は重なっていてはならない。
36 .PP
37 プログラマは、少なくとも \fIwcslen(src)+1\fP 文字のワイド文字
38 が入るだけの領域を \fIdest\fP に対して確保しなければならない。
39 .SH 返り値
40 .BR wcscpy ()
41 は \fIdest\fP を返す。
42 .SH 準拠
43 C99.
44 .SH 関連項目
45 .BR strcpy (3),
46 .BR wcpcpy (3),
47 .BR wcscat (3),
48 .BR wcsdup (3),
49 .BR wmemcpy (3)