OSDN Git Service

(split) Import translated manuals from JM CVS Repository.
[linuxjm/LDP_man-pages.git] / draft / man3 / bcopy.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 .\"
28 .\" Modified Sun Feb 26 14:52:00 1995 by Rik Faith <faith@cs.unc.edu>
29 .\" Modified Tue Oct 22 23:48:10 1996 by Eric S. Raymond <esr@thyrsus.com>
30 .\" "
31 .\" Japanese Version Copyright (c) 1997 Ueyama Rui
32 .\"         all rights reserved.
33 .\" Translated Tue Feb 21 0:45:00 JST 1997
34 .\"         by Ueyama Rui <ueyama@campusnet.or.jp>
35 .\" Updated Sun Feb 23 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
36 .\"
37 .TH BCOPY 3 2009-03-15 "Linux" "Linux Programmer's Manual"
38 .SH Ì¾Á°
39 .\"O bcopy \- copy byte sequence
40 bcopy \- ¥Ð¥¤¥ÈÎó¤ò¥³¥Ô¡¼¤¹¤ë
41 .SH ½ñ¼°
42 .nf
43 .B #include <strings.h>
44 .sp
45 .BI "void bcopy(const void *" src ", void *" dest ", size_t " n );
46 .fi
47 .SH ÀâÌÀ
48 .\"O The
49 .\"O .BR bcopy ()
50 .\"O function copies
51 .\"O .I n
52 .\"O bytes from
53 .\"O .I src
54 .\"O to
55 .\"O .IR dest .
56 .BR bcopy ()
57 ¤Ï
58 .I src
59 ¤«¤éÀèƬ
60 .I n
61 ¥Ð¥¤¥È¤ò
62 .I dest
63 ¤Ë¥³¥Ô¡¼¤¹¤ë¡£
64 .\"O The result is correct, even when both areas overlap.
65 Îΰ褬½Å¤Ê¤Ã¤Æ¤¤¤Æ¤â¡¢·ë²Ì¤ÏÀµ¤·¤¤¤â¤Î¤Ç¤¢¤ë¡£
66 .SH ÊÖ¤êÃÍ
67 .\"O None.
68 ¤Ê¤·¡£
69 .SH ½àµò
70 4.3BSD.
71 .\"O This function is deprecated (marked as LEGACY in POSIX.1-2001): use
72 .\"O .BR memcpy (3)
73 .\"O or
74 .\"O .BR memmove (3)
75 .\"O in new programs.
76 .\"O Note that the first two arguments
77 .\"O are interchanged for
78 .\"O .BR memcpy (3)
79 .\"O and
80 .\"O .BR memmove (3).
81 .\"O POSIX.1-2008 removes the specification of
82 .\"O .BR bcopy ().
83 ¤³¤Î´Ø¿ô¤ÏÇÑ»ßͽÄê¤Ç¤¢¤ë (POSIX.1-2001 ¤Ç¤Ï
84 ²áµî¤Î̾»Ä (LEGACY) ¤È¤µ¤ì¤Æ¤¤¤ë)¡£¿·¤·¤¤¥×¥í¥°¥é¥à¤Ç¤Ï
85 .BR memcpy ()
86 ¤ä
87 .BR memmove ()
88 ¤ò»ÈÍѤ¹¤Ù¤­¤Ç¤¢¤ë¡£
89 .BR memcpy ()
90 ¤ä
91 .BR memmove ()
92 ¤Ç¤Ï¡¢ºÇ½é¤Î 2 ¤Ä¤Î°ú¿ô¤Î½ç½ø¤¬Æþ¤ìÂؤï¤Ã¤Æ¤¤¤ë¤³¤È¤ËÃí°Õ¤¹¤ë¤³¤È¡£
93 POSIX.1-2008 ¤Ç¤Ï¡¢
94 .BR bcopy ()
95 ¤Î»ÅÍͤ¬ºï½ü¤µ¤ì¤Æ¤¤¤ë¡£
96 .\"O .SH "SEE ALSO"
97 .SH ´ØÏ¢¹àÌÜ
98 .BR memccpy (3),
99 .BR memcpy (3),
100 .BR memmove (3),
101 .BR strcpy (3),
102 .BR strncpy (3)