NAME
memset
—
write a byte to byte string
LIBRARY
library “libc”
SYNOPSIS
#include
<string.h>
void *
memset
(void
*b, int c,
size_t len);
DESCRIPTION
Thememset
()
function writes len bytes of value
c (converted to an unsigned char)
to the string b.
RETURN VALUES
The memset
() function returns its first
argument.
SEE ALSO
STANDARDS
The memset
() function conforms to
ISO/IEC 9899:1990
(“ISO C90”).