2 This implementation is in the public domain. */
6 @deftypefn Supplemental void* memset (void *@var{s}, int @var{c}, size_t @var{count})
8 Sets the first @var{count} bytes of @var{s} to the constant byte
9 @var{c}, returning a pointer to @var{s}.
16 #ifdef ANSI_PROTOTYPES
19 #define size_t unsigned long
23 memset (dest, val, len)
28 register unsigned char *ptr = (unsigned char*)dest;