ref: 29c70a1082291f1643b2eff68146385983ceaa76 dir: /lib/c/memset.c/
#include <string.h> #undef memset void * memset(void *s, int c, size_t n) { char *m = s; while (n-- > 0) *m++ = c; return s; }