mediaLib Library Functions mlib_memcpy(3MLIB)
NAME
mlib_memcpy - copy a block of bytes
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include
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 over-
lap. Use mlib_memmove() 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 attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | MT-Safe |
|_____________________________|_____________________________|
SEE ALSO
mlib_memmove(3MLIB), mlib_memset(3MLIB), memory(3C), attri-
butes(5)SunOS 5.11 Last change: 2 Mar 2007 1