OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / wcsncpy.3
index 58738fc..e2a4e78 100644 (file)
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"   ISO/IEC 9899:1999
 .\"
-.\" About this Japanese page, please contact to JM Project <JM@linux.or.jp>
-.\" Translated Tue Oct 19 02:13:45 JST 1999
-.\"           by FUJIWARA Teruyoshi <fujiwara@linux.or.jp>
+.\"*******************************************************************
 .\"
-.TH WCSNCPY 3 1999-07-25 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
-.SH Ì¾Á°
-.\"O wcsncpy \- copy a fixed-size string of wide characters
-wcsncpy \- ¸ÇÄêĹ¤Î¥ï¥¤¥Éʸ»úʸ»úÎó¤ò¥³¥Ô¡¼¤¹¤ë
-.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH WCSNCPY 3 2011\-09\-28 GNU "Linux Programmer's Manual"
+.SH 名前
+wcsncpy \- 固定長のワイド文字文字列をコピーする
+.SH 書式
 .nf
-.B #include <wchar.h>
+\fB#include <wchar.h>\fP
 .sp
-.BI "wchar_t *wcsncpy(wchar_t *" dest ", const wchar_t *" src ", size_t " n );
+\fBwchar_t *wcsncpy(wchar_t *\fP\fIdest\fP\fB, const wchar_t *\fP\fIsrc\fP\fB, size_t \fP\fIn\fP\fB);\fP
 .fi
-.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
-.\"O The
-.\"O .BR wcsncpy ()
-.\"O function is the wide-character equivalent of the
-.\"O .BR strncpy (3)
-.\"O function.
-.\"O It copies at most \fIn\fP wide characters from the wide-character
-.\"O string pointed to by \fIsrc\fP,
-.\"O including the terminating L\(aq\\0\(aq character,
-.\"O to the array pointed to by \fIdest\fP.
-.\"O Exactly \fIn\fP wide characters are
-.\"O written at \fIdest\fP.
-.\"O If the length \fIwcslen(src)\fP is smaller than \fIn\fP,
-.\"O the remaining wide characters in the array
-.\"O pointed to by \fIdest\fP are filled
-.\"O with L\(aq\\0\(aq characters.
-.\"O If the length \fIwcslen(src)\fP is greater or equal
-.\"O to \fIn\fP, the string pointed to by \fIdest\fP
-.\"O will not be L\(aq\\0\(aq terminated.
-.BR wcsncpy ()
-´Ø¿ô¤Ï¡¢
-.BR strncpy (3)
-´Ø¿ô¤ËÂбþ¤¹¤ë¥ï¥¤¥Éʸ»ú´Ø¿ô¤Ç¤¢¤ë¡£
-¤³¤Î´Ø¿ô¤Ï \fIsrc\fP ¤¬»Ø¤¹¥ï¥¤¥Éʸ»úʸ»úÎ󤫤顢½ªÃ¼¤Î L\(aq\\0\(aq Ê¸»ú¤ò
-´Þ¤á¤ÆºÇÂç \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤ò¡¢\fIdest\fP ¤¬»Ø¤¹ÇÛÎó¤Ë¥³¥Ô¡¼¤¹¤ë¡£
-¤Á¤ç¤¦¤É \fIn\fP ¸Ä¤Î¥ï¥¤¥Éʸ»ú¤¬ \fIdest\fP ¤Ë½ñ¤­¹þ¤Þ¤ì¤ë¡£
-\fIwcslen(src)\fP ¤ÎŤµ¤¬ \fIn\fP ¤è¤ê¾®¤µ¤±¤ì¤Ð¡¢\fIdest\fP ¤¬»Ø¤¹
-ÇÛÎó¤Î»Ä¤ê¤Î¥ï¥¤¥Éʸ»ú¤ÎÉôʬ¤Ï L\(aq\\0\(aq Ê¸»ú¤ÇËä¤á¤é¤ì¤ë¡£
-\fIwcslen(src)\fP ¤ÎŤµ¤¬ \fIn\fP °Ê¾å¤Ê¤é¤Ð¡¢\fIdest\fP ¤¬»Ø¤¹Ê¸»úÎó
-¤¬ L\(aq\\0\(aq ¤Ç½ªÃ¼¤¹¤ë¤³¤È¤Ï¤Ê¤¤¡£
+.SH 説明
+\fBwcsncpy\fP()  関数は、 \fBstrncpy\fP(3)  関数に対応するワイド文字関数である。 この関数は \fIsrc\fP
+が指すワイド文字文字列から、 終端の NULL ワイド文字 (L\(aq\e0\(aq) を 含めて最大 \fIn\fP 個のワイド文字を、\fIdest\fP
+が指す配列にコピーする。 ちょうど \fIn\fP 個のワイド文字が \fIdest\fP に書き込まれる。 \fIwcslen(src)\fP の長さが \fIn\fP
+より小さければ、\fIdest\fP が指す 配列の残りのワイド文字の部分は NULL ワイド文字で埋められる。 \fIwcslen(src)\fP の長さが
+\fIn\fP 以上ならば、\fIdest\fP が指す文字列 が NULL ワイド文字で終端されることはない。
 .PP
-.\"O The strings may not overlap.
-¤³¤ì¤é¤ÎÇÛÎó¤Ï½Å¤Ê¤Ã¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
+これらの文字列は重なっていてはならない。
 .PP
-.\"O The programmer must ensure that there is room for at least \fIn\fP wide
-.\"O characters at \fIdest\fP.
-¥×¥í¥°¥é¥Þ¤Ï¡¢¾¯¤Ê¤¯¤È¤â \fIn\fP Ê¸»ú¤Î¥ï¥¤¥Éʸ»ú¤¬Æþ¤ë¤À¤±¤ÎÎΰè¤ò
-\fIdest\fP ¤ËÂФ·¤Æ³ÎÊݤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
-.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
-.\"O .BR wcsncpy ()
-.\"O returns \fIdest\fP.
-.BR wcsncpy ()
-¤Ï \fIdest\fP ¤òÊÖ¤¹¡£
-.\"O .SH "CONFORMING TO"
-.SH ½àµò
+プログラマは、少なくとも \fIn\fP 個のワイド文字が入る領域を \fIdest\fP に確保しなければならない。
+.SH 返り値
+\fBwcsncpy\fP()  は \fIdest\fP を返す。
+.SH 準拠
 C99.
-.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
-.BR strncpy (3)
+.SH 関連項目
+\fBstrncpy\fP(3)