bcopy.c 134 字节
Newer Older
A
Anton Perkov 已提交
1 2 3 4 5 6 7 8
#define _BSD_SOURCE
#include <string.h>
#include <strings.h>

void bcopy(const void *s1, void *s2, size_t n)
{
	memmove(s2, s1, n);
}