common.c 217 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 #include <PR/os.h> #include "common.h" /* * Extra stdlib function not supplied by libultra */ void *memset(char *s,int c,size_t n) { int i; for(i=0;i<n;i++) s[i]=(unsigned char)c; return s; }