Older Newer
Fri, 05 Mar 2010 11:24:29 . . . . SyneRyder [Updating document style]


Changes by last author:

Added:
= memcpy =

== Syntax ==

:int memcpy(void *dest, void *src, int n)

== Arguments ==

:dest

::The memory block to copy data to

:src

::The memory block that data will be copied from

:n

::The number of bytes to be copied

== Return ==

:Returns a pointer to the destination (dest) memory block.

== Description ==

:memcpy copies data from one block of memory to another, up to the number of bytes given.

== Example ==

== Also see ==

:strncpy, strcpy, memmove

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.