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