OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[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 1999-07-25 "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 L\(aq\\0\(aq character, to the array pointed to by
40 .\"O \fIdest\fP.
41 .BR wcscpy ()
42 ´Ø¿ô¤Ï¡¢
43 .BR strcpy (3)
44 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
45 ¤³¤Î´Ø¿ô¤Ï¡¢\fIsrc\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»ú(½ªÃ¼¤Î L\(aq\\0\(aq ¤ò´Þ¤à)¤ò
46 \fIdest\fP  ¤¬»Ø¤¹ÇÛÎó¤Ë¥³¥Ô¡¼¤¹¤ë¡£
47 .PP
48 .\"O The strings may not overlap.
49 ¤³¤ì¤é¤Îʸ»úÎó¤Ï½Å¤Ê¤Ã¤Æ¤¤¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
50 .PP
51 .\"O The programmer must ensure that there is
52 .\"O room for at least \fIwcslen(src)+1\fP
53 .\"O wide characters at \fIdest\fP.
54 ¥×¥í¥°¥é¥Þ¤Ï¡¢¾¯¤Ê¤¯¤È¤â \fIwcslen(src)+1\fP Ê¸»ú¤Î¥ï¥¤¥Éʸ»ú
55 ¤¬Æþ¤ë¤À¤±¤ÎÎΰè¤ò \fIdest\fP ¤ËÂФ·¤Æ³ÎÊݤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
56 .\"O .SH "RETURN VALUE"
57 .SH ÊÖ¤êÃÍ
58 .\"O .BR wcscpy ()
59 .\"O returns \fIdest\fP.
60 .BR wcscpy ()
61 ¤Ï \fIdest\fP ¤òÊÖ¤¹¡£
62 .\"O .SH "CONFORMING TO"
63 .SH ½àµò
64 C99.
65 .\"O .SH "SEE ALSO"
66 .SH ´ØÏ¢¹àÌÜ
67 .BR strcpy (3),
68 .BR wcpcpy (3),
69 .BR wcscat (3),
70 .BR wcsdup (3),
71 .BR wmemcpy (3)