OSDN Git Service

f4a444455be9f6590a03316a22d3e8496eeb1579
[linuxjm/LDP_man-pages.git] / release / man3 / wcsncpy.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 Tue Oct 19 02:13:45 JST 1999
16 .\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
17 .\"
18 .TH WCSNCPY 3 1999-07-25 "GNU" "Linux Programmer's Manual"
19 .SH Ì¾Á°
20 wcsncpy \- ¸ÇÄêĹ¤Î¥ï¥¤¥Éʸ»úʸ»úÎó¤ò¥³¥Ô¡¼¤¹¤ë
21 .SH ½ñ¼°
22 .nf
23 .B #include <wchar.h>
24 .sp
25 .BI "wchar_t *wcsncpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n );
26 .fi
27 .SH ÀâÌÀ
28 .BR wcsncpy ()
29 ´Ø¿ô¤Ï¡¢
30 .BR strncpy (3)
31 ´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
32 ¤³¤Î´Ø¿ô¤Ï \fIsrc\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úʸ»úÎ󤫤顢½ªÃ¼¤Î L\(aq\\0\(aq Ê¸»ú¤ò
33 ´Þ¤á¤ÆºÇÂç \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤ò¡¢\fIdest\fP ¤¬»Ø¤¹ÇÛÎó¤Ë¥³¥Ô¡¼¤¹¤ë¡£
34 ¤Á¤ç¤¦¤É \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤¬ \fIdest\fP ¤Ë½ñ¤­¹þ¤Þ¤ì¤ë¡£
35 \fIwcslen(src)\fP ¤ÎŤµ¤¬ \fIn\fP ¤è¤ê¾®¤µ¤±¤ì¤Ð¡¢\fIdest\fP ¤¬»Ø¤¹
36 ÇÛÎó¤Î»Ä¤ê¤Î¥ï¥¤¥Éʸ»ú¤ÎÉôʬ¤Ï L\(aq\\0\(aq Ê¸»ú¤ÇËä¤á¤é¤ì¤ë¡£
37 \fIwcslen(src)\fP ¤ÎŤµ¤¬ \fIn\fP °Ê¾å¤Ê¤é¤Ð¡¢\fIdest\fP ¤¬»Ø¤¹Ê¸»úÎó
38 ¤¬ L\(aq\\0\(aq ¤Ç½ªÃ¼¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£
39 .PP
40 ¤³¤ì¤é¤ÎÇÛÎó¤Ï½Å¤Ê¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
41 .PP
42 ¥×¥í¥°¥é¥Þ¤Ï¡¢¾¯¤Ê¤¯¤È¤â \fIn\fP Ê¸»ú¤Î¥ï¥¤¥Éʸ»ú¤¬Æþ¤ë¤À¤±¤ÎÎΰè¤ò
43 \fIdest\fP ¤ËÂФ·¤Æ³ÎÊݤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
44 .SH ÊÖ¤êÃÍ
45 .BR wcsncpy ()
46 ¤Ï \fIdest\fP ¤òÊÖ¤¹¡£
47 .SH ½àµò
48 C99.
49 .SH ´ØÏ¢¹àÌÜ
50 .BR strncpy (3)