mlib_memcpy(3MLIB) mediaLib Library Functions mlib_memcpy(3MLIB)
NAME
mlib_memcpy - copy a block of bytes
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
void *mlib_memcpy(void *dst, const void *src, size_t n);
DESCRIPTION
The mlib_memcpy() function copies n bytes from memory area src to dst. It returns dst. The memory areas may not overlap. Use mlib_mem-
move() if the memory areas do overlap.
This function is a wrapper of the standard C function memcpy().
PARAMETERS
The function takes the following arguments:
dst Pointer to the destination.
src Pointer to the source.
n Number of bytes to be copied.
RETURN VALUES
The function returns a pointer to the destination.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
mlib_memmove(3MLIB), mlib_memset(3MLIB), memory(3C), attributes(5)
SunOS 5.10 9 Nov 2004 mlib_memcpy(3MLIB)