This is memset.c in view mode; [Download] [Up]
/*
* memset --- initialize memory
*
* We supply this routine for those systems that aren't standard yet.
*/
char *
memset (dest, val, l)
register char *dest, val;
register int l;
{
register char *ret = dest;
while (l--)
*dest++ = val;
return ret;
}
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.