ack/lang/cem/libcc/gen/memset.c
1994-06-24 14:02:31 +00:00

14 lines
133 B
C

/* $Id$ */
char *
memset(s, c, n)
char *s;
register int n;
{
register char *s1 = s;
while (n--) {
*s1++ = c;
}
return(s);
}