ref: cae3fc327c4969ad626fbbe90f00026e977671e0 dir: /src/libc/string/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; }