memcpy.c

The libc implementation

Author

Martin ‘Solar’ Baute

License

Public Domain

Summary
memcpy.cThe libc implementation
Functions
memcpyCopies n bytes from s2 to s1, where s1 and s2 do not overlap

Functions

memcpy

void * memcpy(void * _PDCLIB_restrict s1,
const void * _PDCLIB_restrict s2,
size_t n)

Copies n bytes from s2 to s1, where s1 and s2 do not overlap

Returns the value of s1

void * memcpy(void * _PDCLIB_restrict s1,
const void * _PDCLIB_restrict s2,
size_t n)
Copies n bytes from s2 to s1, where s1 and s2 do not overlap