ref: 1c90dd8f2c195e66a1ca9dadfd412a2ccc6dfb55 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; }