OSDN Git Service

(split) LDP: Update release pages based on LDP 3.54 release
[linuxjm/LDP_man-pages.git] / release / man3 / memccpy.3
index e4e1e3e..ba20869 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" 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.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 18:57:24 1993 by Rik Faith (faith@cs.unc.edu)
+.\"*******************************************************************
+.\"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
 .\"
 .\" Japanese Version Copyright (c) 1997 Ueyama Rui
 .\"         all rights reserved.
 .\" Translated Tue Feb 21 0:48:30 JST 1997
 .\"         by Ueyama Rui <ueyama@campusnet.or.jp>
-.TH MEMCCPY 3  1993-04-10 "GNU" "Linux Programmer's Manual"
-.SH Ì¾Á°
-memccpy \- ¥á¥â¥êÎΰè¤ò¥³¥Ô¡¼¤¹¤ë
-.SH ½ñ¼°
+.\"O .SH NAME
+.\"O memccpy \- copy memory area
+.\"O .SH SYNOPSIS
+.\"O .SH DESCRIPTION
+.\"O The
+.\"O .BR memccpy ()
+.\"O function copies no more than \fIn\fP bytes from
+.\"O memory area \fIsrc\fP to memory area \fIdest\fP, stopping when the
+.\"O character \fIc\fP is found.
+.\"O If the memory areas overlap, the results are undefined.
+.\"O .SH "RETURN VALUE"
+.\"O The
+.\"O .BR memccpy ()
+.\"O function returns a pointer to the next character
+.\"O in \fIdest\fP after \fIc\fP, or NULL if \fIc\fP was not found in the
+.\"O first \fIn\fP characters of \fIsrc\fP.
+.\"O .SH "CONFORMING TO"
+.\"O .SH "SEE ALSO"
+.\"
+.TH MEMCCPY 3 1993\-04\-10 GNU "Linux Programmer's Manual"
+.SH 名前
+memccpy \- メモリ領域をコピーする
+.SH 書式
 .nf
-.B #include <string.h>
+\fB#include <string.h>\fP
 .sp
-.BI "void *memccpy(void *" dest ", const void *" src ", int " c ", size_t " n );
+\fBvoid *memccpy(void *\fP\fIdest\fP\fB, const void *\fP\fIsrc\fP\fB, int \fP\fIc\fP\fB, size_t \fP\fIn\fP\fB);\fP
 .fi
-.SH ÀâÌÀ
-.BR memccpy ()
-¤Ï¡¢¥á¥â¥êÎΰè \fIsrc\fP ¤«¤é¥á¥â¥êÎΰè \fIdest\fP ¤Ë
-ºÇÂç¤Ç \fIn\fP ¥Ð¥¤¥È¤Î¥³¥Ô¡¼¤ò¹Ô¤¦¡£
-\fIn\fP ¥Ð¥¤¥È¥³¥Ô¡¼¤¹¤ëÁ°¤Ëʸ»ú \fIc\fP ¤¬¸«¤Ä¤«¤ë¤È¡¢
-¤½¤³¤Ç¥³¥Ô¡¼¤òÃæ»ß¤¹¤ë¡£
+.SH 説明
+\fBmemccpy\fP()  は、メモリ領域 \fIsrc\fP からメモリ領域 \fIdest\fP に 最大で \fIn\fP バイトのコピーを行う。 \fIn\fP
+バイトコピーする前に文字 \fIc\fP が見つかると、 そこでコピーを中止する。
 
-¥³¥Ô¡¼¸µ¤È¥³¥Ô¡¼Àè¤Î¥á¥â¥êÎΰ褬½Å¤Ê¤Ã¤Æ¤¤¤ë¾ì¹ç¡¢
-·ë²Ì¤ÏÉÔÄê¤Ç¤¢¤ë¡£
-.SH ÊÖ¤êÃÍ
-.BR memccpy ()
-¤Ï¡¢\fIdest\fP Ãæ¤Ë¸«¤Ä¤«¤Ã¤¿ \fIc\fP ¤Î
-¼¡¤Ë¤¢¤ë¥­¥ã¥é¥¯¥¿¡¼·¿¤ÎÊÑ¿ô¤ò»Ø¤¹¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
-¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¡¢NULL ¤òÊÖ¤¹¡£
-.SH ½àµò
-SVr4, 4.3BSD, POSIX.1-2001.
-.SH ´ØÏ¢¹àÌÜ
-.BR bcopy (3),
-.BR memcpy (3),
-.BR memmove (3),
-.BR strcpy (3),
-.BR strncpy (3)
+コピー元とコピー先のメモリ領域が重なっている場合、 結果は不定である。
+.SH 返り値
+\fBmemccpy\fP()  は、\fIdest\fP 中に見つかった \fIc\fP の 次にあるキャラクター型の変数を指すポインタを返す。
+見つからなかった場合、NULL を返す。
+.SH 準拠
+SVr4, 4.3BSD, POSIX.1\-2001.
+.SH 関連項目
+\fBbcopy\fP(3), \fBmemcpy\fP(3), \fBmemmove\fP(3), \fBstrcpy\fP(3), \fBstrncpy\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。