memcpy[copy memory regions]

Contents|Index|Previous|Next

memcpy
[copy memory regions]

SYNOPSIS 
#include <string.h> 
void *memcpy(void *out, const void *in, size_t n); 

DESCRIPTION
The function,
memcpy, copies n bytes from the memory region pointed to by in to the memory region pointed to by out.

If the regions overlap, the behavior is undefined.

RETURNS
memcpy returns a pointer to the first byte of the out region.

COMPLIANCE
memcpy is ANSI C.

memcpy requires no supporting OS subroutines.

 
© 2005 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Contact