OSDN Git Service

(split) LDP: draft snapshots from latest ja.po(s).
[linuxjm/LDP_man-pages.git] / draft / man3 / memccpy.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one.
11 .\"
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\"
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Sat Jul 24 18:57:24 1993 by Rik Faith (faith@cs.unc.edu)
28 .\"*******************************************************************
29 .\"
30 .\" This file was generated with po4a. Translate the source file.
31 .\"
32 .\"*******************************************************************
33 .TH MEMCCPY 3 1993\-04\-10 GNU "Linux Programmer's Manual"
34 .SH 名前
35 memccpy \- メモリ領域をコピーする
36 .SH 書式
37 .nf
38 \fB#include <string.h>\fP
39 .sp
40 \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
41 .fi
42 .SH 説明
43 \fBmemccpy\fP()  は、メモリ領域 \fIsrc\fP からメモリ領域 \fIdest\fP に 最大で \fIn\fP バイトのコピーを行う。 \fIn\fP
44 バイトコピーする前に文字 \fIc\fP が見つかると、 そこでコピーを中止する。
45
46 コピー元とコピー先のメモリ領域が重なっている場合、 結果は不定である。
47 .SH 返り値
48 \fBmemccpy\fP()  は、\fIdest\fP 中に見つかった \fIc\fP の 次にあるキャラクター型の変数を指すポインタを返す。
49 見つからなかった場合、NULL を返す。
50 .SH 準拠
51 SVr4, 4.3BSD, POSIX.1\-2001.
52 .SH 関連項目
53 \fBbcopy\fP(3), \fBmemcpy\fP(3), \fBmemmove\fP(3), \fBstrcpy\fP(3), \fBstrncpy\fP(3)
54 .SH この文書について
55 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
56 である。プロジェクトの説明とバグ報告に関する情報は
57 http://www.kernel.org/doc/man\-pages/ に書かれている。