ref: 33983a06ec430df20df57df38c3b142dc495c5a2 dir: /lib/c/src/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; }