OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man3 / stpncpy.3
index 9f8c8c3..c5ba47b 100644 (file)
@@ -9,93 +9,51 @@
 .\"   GNU glibc-2 source code and manual
 .\"
 .\" Corrected, aeb, 990824
+.\"*******************************************************************
 .\"
-.\" Japanese Version Copyright (c) 1999 HANATAKA Shinya
-.\"         all rights reserved.
-.\" Translated Tue Jan 11 00:55:50 JST 2000
-.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH STPNCPY 3  2011-09-28 "GNU" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH STPNCPY 3 2011\-09\-28 GNU "Linux Programmer's Manual"
 .SH 名前
-.\"O stpncpy \- copy a fixed-size string, returning a pointer to its end
 stpncpy \- 固定長の文字列をコピーして、その最後へのポインターを返す
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "char *stpncpy(char *" dest ", const char *" src ", size_t " n );
+\fBchar *stpncpy(char *\fP\fIdest\fP\fB, const char *\fP\fIsrc\fP\fB, size_t \fP\fIn\fP\fB);\fP
 .fi
 .sp
 .in -4n
-.\"O Feature Test Macro Requirements for glibc (see
-.\"O .BR feature_test_macros (7)):
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR stpncpy ():
+\fBstpncpy\fP():
 .PD 0
 .ad l
 .RS 4
-.TP 4
-.\"O Since glibc 2.10:
+.TP  4
 glibc 2.10 以降:
 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
-.TP
-.\"O Before glibc 2.10:
+.TP 
 glibc 2.10 より前:
 _GNU_SOURCE
 .RE
 .ad
 .PD
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR stpncpy ()
-.\"O function copies at most \fIn\fP characters from the string
-.\"O pointed to by \fIsrc\fP, including the terminating null byte (\(aq\\0\(aq),
-.\"O to the array pointed to by \fIdest\fP.
-.\"O Exactly \fIn\fP characters are written at
-.\"O \fIdest\fP.
-.\"O If the length \fIstrlen(src)\fP is smaller than \fIn\fP, the
-.\"O remaining characters in the array pointed to by \fIdest\fP are filled
-.\"O with null bytes (\(aq\\0\(aq),
-.\"O If the length \fIstrlen(src)\fP is greater or equal to
-.\"O \fIn\fP, the string pointed to by \fIdest\fP will
-.\"O not be null-terminated.
-.BR stpncpy ()
-関数は \fIsrc\fP が指している文字列から終端の NULL バイト (\(aq\\0\(aq)
-を含めて最大 \fIn\fP バイトを \fIdest\fP にコピーする。長さ
-\fIstrlen(src)\fP が \fIn\fP より小さい場合には \fIdest\fP の残りの
-部分には NULL バイト (\(aq\\0\(aq) 文字が埋められる。
-長さ \fIstrlen(src)\fP が \fIn\fP 以上ならば、
-\fIdest\fP が指す文字列は NULL で終端されていない。
+\fBstpncpy\fP()  関数は \fIsrc\fP が指している文字列から終端の NULL バイト (\(aq\e0\(aq)  を含めて最大 \fIn\fP
+バイトを \fIdest\fP にコピーする。長さ \fIstrlen(src)\fP が \fIn\fP より小さい場合には \fIdest\fP の残りの 部分には
+NULL バイト (\(aq\e0\(aq) 文字が埋められる。 長さ \fIstrlen(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 characters
-.\"O at \fIdest\fP.
-プログラマーは \fIdest\fP に少なくとも \fIn\fP バイトの空きがあることを
-保証しなければならない。
-.\"O .SH "RETURN VALUE"
+プログラマーは \fIdest\fP に少なくとも \fIn\fP バイトの空きがあることを 保証しなければならない。
 .SH 返り値
-.\"O .BR stpncpy ()
-.\"O returns a pointer to the terminating null byte
-.\"O in \fIdest\fP, or, if \fIdest\fP is not null-terminated,
-.\"O \fIdest + n\fP.
-.BR stpncpy ()
-は \fIdest\fP の終端の NULL バイトを指すポインターを返すか、
-\fIdest\fP が NULL バイトで終端されていない場合には \fIdest + n\fP を返す。
-.\"O .SH "CONFORMING TO"
+\fBstpncpy\fP()  は \fIdest\fP の終端の NULL バイトを指すポインターを返すか、 \fIdest\fP が NULL
+バイトで終端されていない場合には \fIdest + n\fP を返す。
 .SH 準拠
-.\"O This function was added to POSIX.1-2008. Before that, it was a GNU extension.
-この関数は POSIX.1-2008 に追加された。
-それ以前は GNU による拡張であった。
-.\"O .SH "SEE ALSO"
+この関数は POSIX.1\-2008 に追加された。 それ以前は GNU による拡張であった。
 .SH 関連項目
-.BR strncpy (3),
-.BR wcpncpy (3)
+\fBstrncpy\fP(3), \fBwcpncpy\fP(3)