n/*
memset: set the first n bytes of s to the byte c */
nvoid
*memset(void *s, int c, size_t n) {
n size_t i;
n char *p;
n
n p = (char *) s;
n for (i=0; i<n; i++)
n p[i] = c;
n return s;
n}
n
n//
memset(s0 + offset, c, n);
n//
memset2(s1 + offset, c, n);
n//
compare s0 e s1 byte a byte