Subversion Repositories Shiroi

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 nishi 1
/* $Id: mem.c 32 2024-09-01 08:51:40Z nishi $ */
2
 
3
#include "mem.h"
4
 
5
void memcpy(void* dest, void* src, int len){
6
	unsigned char* d = (unsigned char*)dest;
7
	unsigned char* s = (unsigned char*)src;
8
	int i;
9
	for(i = 0; i < len; i++) d[i] = s[i];
10
}