| Current File : //usr/man/man3mlib/mlib_memmove.3mlib |
'\" te
.\" Copyright (c) 2007, Sun Microsystems, Inc. All Rights Reserved
.TH mlib_memmove 3MLIB "2 Mar 2007" "SunOS 5.11" "mediaLib Library Functions"
.SH NAME
mlib_memmove \- copy a block of bytes
.SH SYNOPSIS
.LP
.nf
cc [ \fIflag\fR... ] \fIfile\fR... \fB-lmlib\fR [ \fIlibrary\fR... ]
#include <mlib.h>
\fBvoid *\fR\fBmlib_memmove\fR(\fBvoid *\fR\fIdst\fR, \fBconst void *\fR\fIsrc\fR, \fBsize_t\fR \fIn\fR);
.fi
.SH DESCRIPTION
.sp
.LP
The \fBmlib_memmove()\fR function copies \fIn\fR bytes from memory area \fIsrc\fR to \fIdst\fR. Copying between objects that overlap will take place correctly. It returns \fIdst\fR.
.sp
.LP
This function is a wrapper of the standard C function \fBmemmove()\fR.
.SH PARAMETERS
.sp
.LP
The function takes the following arguments:
.sp
.ne 2
.mk
.na
\fB\fIdst\fR\fR
.ad
.RS 7n
.rt
Pointer to the destination.
.RE
.sp
.ne 2
.mk
.na
\fB\fIsrc\fR\fR
.ad
.RS 7n
.rt
Pointer to the source.
.RE
.sp
.ne 2
.mk
.na
\fB\fIn\fR\fR
.ad
.RS 7n
.rt
Number of bytes to be copied.
.RE
.SH RETURN VALUES
.sp
.LP
The function returns a pointer to the destination.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
cw(2.75i) |cw(2.75i)
lw(2.75i) |lw(2.75i)
.
ATTRIBUTE TYPEATTRIBUTE VALUE
_
Interface StabilityCommitted
_
MT-LevelMT-Safe
.TE
.SH SEE ALSO
.sp
.LP
\fBmlib_memcpy\fR(3MLIB), \fBmlib_memset\fR(3MLIB), \fBmemory\fR(3C), \fBattributes\fR(5)