| MEMSET(3) | Library Functions Manual | MEMSET(3) |
NAME
memset — fill a
byte string with a byte value
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include
<string.h>
void *
memset(void
*b, int c,
size_t len);
DESCRIPTION
The
memset()
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
bzero(3), memset_pattern(3), memset_s.3, swab(3), wmemset(3)
STANDARDS
The memset() function conforms to
ISO/IEC 9899:1990
(“ISO C90”).
| June 4, 1993 | macOS 26.4 |