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}.
19 #define size_t unsigned long
23 DEFUN(memset
, (dest
, val
, len
),
24 PTR dest AND
register int val AND
register size_t len
)
26 register unsigned char *ptr
= (unsigned char*)dest
;