.\"
.TH STPCPY 3 2011-09-28 "GNU" "Linux Programmer's Manual"
.\"O .SH NAME
-.SH ̾Á°
+.SH 名前
.\"O stpcpy \- copy a string returning a pointer to its end
-stpcpy \- ʸ»úÎó¤ò¥³¥Ô¡¼¤·¡¢¥³¥Ô¡¼¤·¤¿Ê¸»úÎó¤Î½ª¤ê¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹
+stpcpy \- 文字列をコピーし、コピーした文字列の終りへのポインタを返す
.\"O .SH SYNOPSIS
-.SH ½ñ¼°
+.SH 書式
.nf
.B #include <string.h>
.sp
.in -4n
.\"O Feature Test Macro Requirements for glibc (see
.\"O .BR feature_test_macros (7)):
-glibc ¸þ¤±¤Îµ¡Ç½¸¡ºº¥Þ¥¯¥í¤ÎÍ×·ï
+glibc 向けの機能検査マクロの要件
.RB ( feature_test_macros (7)
-»²¾È):
+参照):
.in
.sp
.BR stpcpy ():
.RS 4
.TP 4
.\"O Since glibc 2.10:
-glibc 2.10 °Ê¹ß:
+glibc 2.10 以降:
_XOPEN_SOURCE\ >=\ 700 || _POSIX_C_SOURCE\ >=\ 200809L
.TP
.\"O Before glibc 2.10:
-glibc 2.10 ¤è¤êÁ°:
+glibc 2.10 より前:
_GNU_SOURCE
.RE
.ad
.PD
.\"O .SH DESCRIPTION
-.SH ÀâÌÀ
+.SH 説明
.\"O The
.\"O .BR stpcpy ()
.\"O function copies the string pointed to by \fIsrc\fP
.\"O The strings may not overlap, and the destination string
.\"O \fIdest\fP must be large enough to receive the copy.
.BR stpcpy ()
-´Ø¿ô¤Ï¡¢\fIsrc\fP ¤Ç»Ø¤µ¤ì¤¿Ê¸»úÎó¤ò (ʸ»úÎó¤ò½ªÃ¼¤¹¤ë NULL ¥Ð¥¤¥È
-(\(aq\\0\(aq) ¤ò´Þ¤á¤Æ) \fIdest\fP ¤Ç»Ø¤µ¤ì¤¿ÇÛÎó¤Ë¥³¥Ô¡¼¤¹¤ë¡£
-ʸ»úÎó¤Ï½ÅÊ£¤·¤Æ¤Ï¤Ê¤é¤º¡¢¥³¥Ô¡¼Àè¤Îʸ»úÎó \fIdest\fP ¤Ï¥³¥Ô¡¼¤ò¼õ¤±¼è¤ë
-¤Î¤Ë½½Ê¬Â礤¯¤Ê¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¡£
+関数は、\fIsrc\fP で指された文字列を (文字列を終端する NULL バイト
+(\(aq\\0\(aq) を含めて) \fIdest\fP で指された配列にコピーする。
+文字列は重複してはならず、コピー先の文字列 \fIdest\fP はコピーを受け取る
+のに十分大きくなくてはならない。
.\"O .SH "RETURN VALUE"
-.SH ÊÖ¤êÃÍ
+.SH 返り値
.\"O .BR stpcpy ()
.\"O returns a pointer to the \fBend\fP of the string
.\"O \fIdest\fP (that is, the address of the terminating null byte)
.\"O rather than the beginning.
.BR stpcpy ()
-¤Ï¡¢Ê¸»úÎó \fIdest\fP ¤Î»Ï¤Þ¤ê¤Ç¤Ï¤Ê¤¯
-\fB½ª¤ê\fP¤ò»Ø¤¹¥Ý¥¤¥ó¥¿ (¤¹¤Ê¤ï¤Á¡¢Ê¸»úÎó¤ò½ªÃ¼¤¹¤ë NULL ¥Ð¥¤¥È) ¤òÊÖ¤¹¡£
+は、文字列 \fIdest\fP の始まりではなく
+\fB終り\fPを指すポインタ (すなわち、文字列を終端する NULL バイト) を返す。
.\"O .SH "CONFORMING TO"
-.SH ½àµò
+.SH 準拠
.\"O This function was added to POSIX.1-2008. Before that, it was not part of
.\"O the C or POSIX.1 standards, nor customary on UNIX systems, but was not a
.\"O GNU invention either. Perhaps it came from MS-DOS. It is also present on
.\"O the BSDs.
-¤³¤Î´Ø¿ô¤Ï POSIX.1-2008 ¤ËÄɲ䵤줿¡£
-¤½¤ì°ÊÁ°¤Ï¡¢¤³¤Î´Ø¿ô¤Ï C ¤ä POSIX.1 ɸ½à¤Î°ìÉô¤Ç¤â
-UNIX ¥·¥¹¥Æ¥à¤Î´·½¬Åª¤Ê¤â¤Î¤Ç¤â¤Ê¤«¤Ã¤¿¤¬¡¢
-GNU ¤ÎȯÌÀ¤È¤¤¤¦¤ï¤±¤Ç¤â¤Ê¤«¤Ã¤¿¡£
-¤Ò¤ç¤Ã¤È¤·¤¿¤é MS-DOS ͳÍè¤Î¤â¤Î¤«¤â¤·¤ì¤Ê¤¤¡£
-¤³¤Î´Ø¿ô¤Ï BSD ·Ï¤Ë¤â¸ºß¤¹¤ë¡£
+この関数は POSIX.1-2008 に追加された。
+それ以前は、この関数は C や POSIX.1 標準の一部でも
+UNIX システムの慣習的なものでもなかったが、
+GNU の発明というわけでもなかった。
+ひょっとしたら MS-DOS 由来のものかもしれない。
+この関数は BSD 系にも存在する。
.\"O .SH EXAMPLE
-.SH Îã
+.SH 例
.\"O For example, this program uses
.\"O .BR stpcpy ()
.\"O to concatenate \fBfoo\fP and
.\"O \fBbar\fP to produce \fBfoobar\fP, which it then prints.
-Îã¤È¤·¤Æ¡¢¤³¤Î¥×¥í¥°¥é¥à¤Ï \fBfoo\fP ¤È \fBbar\fP ¤òÏ¢·ë¤·¤Æ \fBfoobar\fP
-¤òºî¤ë¤¿¤á¤Ë
+例として、このプログラムは \fBfoo\fP と \fBbar\fP を連結して \fBfoobar\fP
+を作るために
.BR stpcpy ()
-¤ò»ÈÍѤ·¡¢¤½¤Î¸åɽ¼¨¤¹¤ë¡£
+を使用し、その後表示する。
.in +4n
.nf
.fi
.in
.\"O .SH BUGS
-.SH ¥Ð¥°
+.SH ã\83\90ã\82°
.\"O This function may overrun the buffer
.\"O .IR dest .
-¤³¤Î´Ø¿ô¤Ï¥Ð¥Ã¥Õ¥¡
+ã\81\93ã\81®é\96¢æ\95°ã\81¯ã\83\90ã\83\83ã\83\95ã\82¡
.I dest
-¤ÎÈϰϤò¹Ô¤²á¤®¤Æ¤·¤Þ¤¦²ÄǽÀ¤¬¤¢¤ë¡£
+の範囲を行き過ぎてしまう可能性がある。
.\"O .SH "SEE ALSO"
-.SH ´ØÏ¢¹àÌÜ
+.SH 関連項目
.BR bcopy (3),
.BR memccpy (3),
.BR memcpy (3),