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