ref: 4b60622e5ebcec0579c17269c4f4257d3fff9c46 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; }