OSDN Git Service

(split) LDP: Release pages for LDP v3.39.
[linuxjm/LDP_man-pages.git] / release / man3 / stpcpy.3
index fe467e6..c8b67a5 100644 (file)
@@ -2,11 +2,6 @@
 .\"
 .\" Copyright 1995 James R. Van Zandt <jrv@vanzandt.mv.com>
 .\"
-.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
-.\"    all rights reserved.
-.\" Translated Fri Dec 26 13:14:47 JST 1997
-.\"    by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
-.\"
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
-.TH STPCPY 3  2011-09-28 "GNU" "Linux Programmer's Manual"
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH STPCPY 3 2012\-03\-15 GNU "Linux Programmer's Manual"
 .SH 名前
 stpcpy \- 文字列をコピーし、コピーした文字列の終りへのポインタを返す
 .SH 書式
 .nf
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "char *stpcpy(char *" dest ", const char *" src );
+\fBchar *stpcpy(char *\fP\fIdest\fP\fB, const char *\fP\fIsrc\fP\fB);\fP
 .fi
 .sp
 .in -4n
-glibc 向けの機能検査マクロの要件
-.RB ( feature_test_macros (7)
-参照):
+glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参照):
 .in
 .sp
-.BR stpcpy ():
+\fBstpcpy\fP():
 .PD 0
 .ad l
 .RS 4
-.TP 4
+.TP  4
 glibc 2.10 以降:
 _XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
-.TP
+.TP 
 glibc 2.10 より前:
 _GNU_SOURCE
 .RE
 .ad
 .PD
 .SH 説明
-.BR stpcpy ()
-関数は、\fIsrc\fP で指された文字列を (文字列を終端する NULL バイト
-(\(aq\\0\(aq) を含めて) \fIdest\fP で指された配列にコピーする。
-文字列は重複してはならず、コピー先の文字列 \fIdest\fP はコピーを受け取る
+\fBstpcpy\fP()  関数は、\fIsrc\fP で指された文字列を (文字列を終端する NULL バイト (\(aq\e0\(aq) を含めて)
+\fIdest\fP で指された配列にコピーする。 文字列は重複してはならず、コピー先の文字列 \fIdest\fP はコピーを受け取る
 のに十分大きくなくてはならない。
 .SH 返り値
-.BR stpcpy ()
-は、文字列 \fIdest\fP の始まりではなく
-\fB終り\fPを指すポインタ (すなわち、文字列を終端する NULL バイト) を返す。
+\fBstpcpy\fP()  は、文字列 \fIdest\fP の始まりではなく \fB終り\fPを指すポインタ (すなわち、文字列を終端する NULL バイト)
+を返す。
 .SH 準拠
-この関数は POSIX.1-2008 に追加された。
-それ以前は、この関数は C や POSIX.1 標準の一部でも
-UNIX システムの慣習的なものでもなかったが、
-GNU の発明というわけでもなかった。
-ひょっとしたら MS-DOS 由来のものかもしれない。
-この関数は BSD 系にも存在する。
+この関数は POSIX.1\-2008 に追加された。 それ以前は、この関数は C や POSIX.1 標準の一部でも UNIX
+システムの慣習的なものでもなかったが、 GNU の発明というわけでもなかった。 ひょっとしたら MS\-DOS 由来のものかもしれない。 この関数は
+BSD 系にも存在する。
+.SH バグ
+この関数はバッファ \fIdest\fP の範囲を行き過ぎてしまう可能性がある。
 .SH 例
-例として、このプログラムは \fBfoo\fP と \fBbar\fP を連結して \fBfoobar\fP
-を作るために
-.BR stpcpy ()
+例として、このプログラムは \fBfoo\fP と \fBbar\fP を連結して \fBfoobar\fP を作るために \fBstpcpy\fP()
 を使用し、その後表示する。
 .in +4n
 .nf
@@ -93,20 +85,10 @@ main(void)
 
     to = stpcpy(to, "foo");
     to = stpcpy(to, "bar");
-    printf("%s\\n", buffer);
+    printf("%s\en", buffer);
 }
 .fi
 .in
-.SH バグ
-この関数はバッファ
-.I dest
-の範囲を行き過ぎてしまう可能性がある。
 .SH 関連項目
-.BR bcopy (3),
-.BR memccpy (3),
-.BR memcpy (3),
-.BR memmove (3),
-.BR stpncpy (3),
-.BR strcpy (3),
-.BR string (3),
-.BR wcpcpy (3)
+\fBbcopy\fP(3), \fBmemccpy\fP(3), \fBmemcpy\fP(3), \fBmemmove\fP(3), \fBstpncpy\fP(3),
+\fBstrcpy\fP(3), \fBstring\fP(3), \fBwcpcpy\fP(3)