OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man3 / memmove.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:49:59 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:50:30 JST 1997
32 .\"         by Ueyama Rui <ueyama@campusnet.or.jp>
33 .\" Updated 2007-06-13, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v2.55
34 .\"
35 .TH MEMMOVE 3 1993-04-10 "GNU" "Linux Programmer's Manual"
36 .\"O .SH NAME
37 .SH Ì¾Á°
38 .\"O memmove \- copy memory area
39 memmove \- ¥á¥â¥êÎΰè¤ò¥³¥Ô¡¼¤¹¤ë
40 .\"O .SH SYNOPSIS
41 .SH ½ñ¼°
42 .nf
43 .B #include <string.h>
44 .sp
45 .BI "void *memmove(void *" dest ", const void *" src ", size_t " n );
46 .fi
47 .\"O .SH DESCRIPTION
48 .SH ÀâÌÀ
49 .\"O The
50 .\"O .BR memmove ()
51 .\"O function copies \fIn\fP bytes from memory area
52 .\"O \fIsrc\fP to memory area \fIdest\fP.
53 .\"O The memory areas may overlap: copying takes place as though
54 .\"O the bytes in
55 .\"O .I src
56 .\"O are first copied into a temporary array that does not overlap
57 .\"O .I src
58 .\"O or
59 .\"O .IR dest ,
60 .\"O and the bytes are then copied from the temporary array to
61 .\"O .IR dest .
62 .BR memmove ()
63 ¤Ï¡¢¥á¥â¥êÎΰè \fIsrc\fP ¤ÎÀèƬ \fIn\fP ¥Ð¥¤¥È¤ò
64 ¥á¥â¥êÎΰè \fIdest\fP ¤Ë¥³¥Ô¡¼¤¹¤ë¡£¥³¥Ô¡¼¸µ¤È¥³¥Ô¡¼Àè¤Î
65 Îΰ褬½Å¤Ê¤Ã¤Æ¤¤¤Æ¤â¤è¤¤¡£
66 ºÇ½é¤Ë
67 .I src
68 ¤Î¥Ð¥¤¥È¤¬
69 .I src
70 ¤È¤â
71 .I dest
72 ¤È¤â½Å¤Ê¤é¤Ê¤¤°ì»þŪ¤ÊÇÛÎó¤Ë¥³¥Ô¡¼¤µ¤ì¤Æ¤«¤é¡¢°ì»þŪ¤ÊÇÛÎ󤫤é
73 .I dest
74 ¤Ë¥Ð¥¤¥È¤Î¥³¥Ô¡¼¤¬¹Ô¤ï¤ì¤¿¤«¤Î¤è¤¦¤Ë¡¢¥³¥Ô¡¼¤¬¹Ô¤ï¤ì¤ë¡£
75 .\"O .SH "RETURN VALUE"
76 .SH ÊÖ¤êÃÍ
77 .\"O The
78 .\"O .BR memmove ()
79 .\"O function returns a pointer to \fIdest\fP.
80 .BR memmove ()
81 ¤Ï \fIdest\fP ¤Ø¤Î¥Ý¥¤¥ó¥¿¤òÊÖ¤¹¡£
82 .\"O .SH "CONFORMING TO"
83 .SH ½àµò
84 SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
85 .\"O .SH "SEE ALSO"
86 .SH ´ØÏ¢¹àÌÜ
87 .BR bcopy (3),
88 .BR memccpy (3),
89 .BR memcpy (3),
90 .BR strcpy (3),
91 .BR strncpy (3),
92 .BR wmemmove (3)