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