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