OSDN Git Service

(split) Convert release and draft pages to UTF-8.
[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 .\" Japanese Version Copyright (c) 1997 Ueyama Rui
30 .\"         all rights reserved.
31 .\" Translated Tue Feb 21 0:48:30 JST 1997
32 .\"         by Ueyama Rui <ueyama@campusnet.or.jp>
33 .TH MEMCCPY 3  1993-04-10 "GNU" "Linux Programmer's Manual"
34 .\"O .SH NAME
35 .SH 名前
36 .\"O memccpy \- copy memory area
37 memccpy \- メモリ領域をコピーする
38 .\"O .SH SYNOPSIS
39 .SH 書式
40 .nf
41 .B #include <string.h>
42 .sp
43 .BI "void *memccpy(void *" dest ", const void *" src ", int " c ", size_t " n );
44 .fi
45 .\"O .SH DESCRIPTION
46 .SH 説明
47 .\"O The
48 .\"O .BR memccpy ()
49 .\"O function copies no more than \fIn\fP bytes from
50 .\"O memory area \fIsrc\fP to memory area \fIdest\fP, stopping when the
51 .\"O character \fIc\fP is found.
52 .BR memccpy ()
53 は、メモリ領域 \fIsrc\fP からメモリ領域 \fIdest\fP に
54 最大で \fIn\fP バイトのコピーを行う。
55 \fIn\fP バイトコピーする前に文字 \fIc\fP が見つかると、
56 そこでコピーを中止する。
57
58 .\"O If the memory areas overlap, the results are undefined.
59 コピー元とコピー先のメモリ領域が重なっている場合、
60 結果は不定である。
61 .\"O .SH "RETURN VALUE"
62 .SH 返り値
63 .\"O The
64 .\"O .BR memccpy ()
65 .\"O function returns a pointer to the next character
66 .\"O in \fIdest\fP after \fIc\fP, or NULL if \fIc\fP was not found in the
67 .\"O first \fIn\fP characters of \fIsrc\fP.
68 .BR memccpy ()
69 は、\fIdest\fP 中に見つかった \fIc\fP の
70 次にあるキャラクター型の変数を指すポインタを返す。
71 見つからなかった場合、NULL を返す。
72 .\"O .SH "CONFORMING TO"
73 .SH 準拠
74 SVr4, 4.3BSD, POSIX.1-2001.
75 .\"O .SH "SEE ALSO"
76 .SH 関連項目
77 .BR bcopy (3),
78 .BR memcpy (3),
79 .BR memmove (3),
80 .BR strcpy (3),
81 .BR strncpy (3)