OSDN Git Service

4cfff1db1a9eade3ad310ba34dd37d4f80d60b39
[linuxjm/LDP_man-pages.git] / draft / 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 .\"O .SH NAME
20 .SH 名前
21 .\"O wcscpy \- copy a wide-character string
22 wcscpy \- ワイド文字文字列をコピーする
23 .\"O .SH SYNOPSIS
24 .SH 書式
25 .nf
26 .B #include <wchar.h>
27 .sp
28 .BI "wchar_t *wcscpy(wchar_t *" dest ", const wchar_t *" src );
29 .fi
30 .\"O .SH DESCRIPTION
31 .SH 説明
32 .\"O The
33 .\"O .BR wcscpy ()
34 .\"O function is the wide-character equivalent
35 .\"O of the
36 .\"O .BR strcpy (3)
37 .\"O function.
38 .\"O It copies the wide-character string pointed to by \fIsrc\fP,
39 .\"O including the terminating null wide character (L\(aq\\0\(aq),
40 .\"O to the array pointed to by
41 .\"O \fIdest\fP.
42 .BR wcscpy ()
43 関数は、
44 .BR strcpy (3)
45 関数に対応するワイド文字関数である。
46 この関数は、\fIsrc\fP が指すワイド文字 (終端の NULL ワイド文字
47 (L\(aq\\0\(aq) を含む)を \fIdest\fP  が指す配列にコピーする。
48 .PP
49 .\"O The strings may not overlap.
50 これらの文字列は重なっていてはならない。
51 .PP
52 .\"O The programmer must ensure that there is
53 .\"O room for at least \fIwcslen(src)+1\fP
54 .\"O wide characters at \fIdest\fP.
55 プログラマは、少なくとも \fIwcslen(src)+1\fP 文字のワイド文字
56 が入るだけの領域を \fIdest\fP に対して確保しなければならない。
57 .\"O .SH "RETURN VALUE"
58 .SH 返り値
59 .\"O .BR wcscpy ()
60 .\"O returns \fIdest\fP.
61 .BR wcscpy ()
62 は \fIdest\fP を返す。
63 .\"O .SH "CONFORMING TO"
64 .SH 準拠
65 C99.
66 .\"O .SH "SEE ALSO"
67 .SH 関連項目
68 .BR strcpy (3),
69 .BR wcpcpy (3),
70 .BR wcscat (3),
71 .BR wcsdup (3),
72 .BR wmemcpy (3)