welibc
A clear, secure, and well documented standard C library
|
Defines the memcpy function. More...
#include <string.h>
Go to the source code of this file.
Functions | |
void * | memcpy (void *s1, const void *s2, size_t n) |
Copies n characters from s2 into s1. More... | |
Defines the memcpy function.
Definition in file memcpy.c.
void* memcpy | ( | void * | s1, |
const void * | s2, | ||
size_t | n | ||
) |
Copies n characters from s2 into s1.
*s1 | The destination location to which to copy characters |
*s2 | The source location from which to copy characters |
n | The number of characters to copy |
The memcpy function copies n characters from the object pointed to by s2 into the object pointed to by s1.
Definition at line 60 of file memcpy.c.
References memmove().