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 .\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
14 .\" Translated Mon Oct 25 22:24:35 JST 1999
15 .\" by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .TH WCPCPY 3 2011-10-01 "GNU" "Linux Programmer's Manual"
20 .\"O wcpcpy \- copy a wide-character string, returning a pointer to its end
21 wcpcpy \- ¥ï¥¤¥Éʸ»úʸ»úÎó¤ò¥³¥Ô¡¼¤·¡¢¤½¤ÎËöÈø¤ò»Ø¤¹¥Ý¥¤¥ó¥¿¤òÊÖ¤¹
27 .BI "wchar_t *wcpcpy(wchar_t *" dest ", const wchar_t *" src );
31 .\"O Feature Test Macro Requirements for glibc (see
32 .\"O .BR feature_test_macros (7)):
33 glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
34 .RB ( feature_test_macros (7)
43 .\"O Since glibc 2.10:
45 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
47 .\"O Before glibc 2.10:
57 .\"O function is the wide-character equivalent of the
60 .\"O It copies the wide-character string pointed to by \fIsrc\fP,
61 .\"O including the terminating null wide character (L\(aq\\0\(aq),cw
62 .\"O to the array pointed to by
67 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
68 ¤³¤Î´Ø¿ô¤Ï \fIsrc\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úʸ»úÎó¤ò¡¢
69 ½ªÃ¼¤Î NULL ¥ï¥¤¥Éʸ»ú (L\(aq\\0\(aq) ¤ò´Þ¤á¤Æ¡¢
70 \fIdest\fP ¤¬»Ø¤¹ÇÛÎó¤Ë¥³¥Ô¡¼¤¹¤ë¡£
72 .\"O The strings may not overlap.
73 ¤³¤ì¤é¤Îʸ»úÎó¤Ï½Å¤Ê¤Ã¤Æ¤¤¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
75 .\"O The programmer must ensure that there
76 .\"O is room for at least \fIwcslen(src)+1\fP
77 .\"O wide characters at \fIdest\fP.
78 ¥×¥í¥°¥é¥Þ¤Ï¡¢\fIdest\fP ¤¬»Ø¤¹Îΰè¤Ë¾¯¤Ê¤¯¤È¤â¥ï¥¤¥Éʸ»ú
79 \fIwcslen(src)+1\fP ¸Äʬ¤ÎÎΰè¤ò³ÎÊݤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
80 .\"O .SH "RETURN VALUE"
83 .\"O returns a pointer to the end of the wide-character string
84 .\"O \fIdest\fP, that is, a pointer to the terminating null wide character.
86 ¤Ï¡¢¥ï¥¤¥Éʸ»úʸ»úÎó \fIdest\fP ¤ÎËöÈø¡¢¤Ä¤Þ¤ê½ªÃ¼¤Î NULL ¥ï¥¤¥Éʸ»ú
87 ¤ò»Ø¤¹¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
88 .\"O .SH "CONFORMING TO"