Content-type: text/html Man page of mlib_memcpy

mlib_memcpy

Section: mediaLib Library Functions (3MLIB)
Updated: 2 Mar 2007
Index Return to Main Contents
 

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_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 attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE

Interface StabilityCommitted

MT-Level

 

SEE ALSO

mlib_memmove(3MLIB), mlib_memset(3MLIB), memory(3C), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:37:51 GMT, October 02, 2010