OAR

RTEMS GNU Tools On-Line Library


memcpy

PREV UP NEXT Bookshelf

4.7: memcpy---copy memory regions

Synopsis

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

Description
This function 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.


Portability
memcpy is ANSI C.

memcpy requires no supporting OS subroutines.



PREV UP NEXT Bookshelf

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.