Subversion Repositories Shiroi

Rev

Blame | Last modification | View Log | Download | RSS feed

/* $Id: mem.c 32 2024-09-01 08:51:40Z nishi $ */

#include "mem.h"

void memcpy(void* dest, void* src, int len){
        unsigned char* d = (unsigned char*)dest;
        unsigned char* s = (unsigned char*)src;
        int i;
        for(i = 0; i < len; i++) d[i] = s[i];
}