void * memset(void *s, int c, long unsigned n) { char *pDest = (char *)s; for (unsigned i = 0; i < n; ++i) pDest[i] = (char)c; return s; }