Standard C Functions


memcpy (_nmemcpy)


Syntax

#include <string.h>
void *memcpy(void *dest, const void *src, size_t count)

Arguments

dest      pointer to the destination that is to receive the copied data
src       pointer to the source of the copied data 
count     number of bytes to be copy

Return Value

The pointer to the destination

Description

It copies the content of src to dest by the amount of count. It won't be copied correctly if the areas of the source and the destination are overlapping.


Revision History

6/1/99 Although it was not released because the function already existed in N64 OS, changed memcpy in the nustd library to _nmemcpy