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