1MEMSET(3) Linux Programmer's Manual MEMSET(3)
23
4
NAME
6memset - fill memory with a constant byte
7
SYNOPSIS
9#include <string.h>
1011
void *memset(void *s, int c, size_t n);
12
DESCRIPTION
14The memset() function fills the first n bytes of the memory area
15pointed to by s with the constant byte c.
16
RETURN VALUE
18The memset() function returns a pointer to the memory area s.
19
CONFORMING TO
21SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
22
SEE ALSO
24bzero(3), swab(3), wmemset(3)
2526
27
28
GNU 1993-04-11 MEMSET(3)