memmove

memcpy

#include <string.h>void *memcpy(void *to, const void *from, size_t count);

The memcpy( ) function copies count characters from the array pointed to by from into the array pointed to by to. If the arrays overlap, the behavior of memcpy( ) is undefined.

In C99, to and from are qualified by restrict.

The memcpy( ) function returns a pointer to to.

A related function is memmove( ).




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net