1MEMSET(3)                  Linux Programmer's Manual                 MEMSET(3)
2
3
4

NAME

6       memset - fill memory with a constant byte
7

SYNOPSIS

9       #include <string.h>
10
11       void *memset(void *s, int c, size_t n);
12

DESCRIPTION

14       The  memset()  function  fills  the  first  n  bytes of the memory area
15       pointed to by s with the constant byte c.
16

RETURN VALUE

18       The memset() function returns a pointer to the memory area s.
19

CONFORMING TO

21       SVr4, 4.3BSD, C89, C99, POSIX.1-2001.
22

SEE ALSO

24       bzero(3), swab(3), wmemset(3)
25

COLOPHON

27       This page is part of release 3.22 of the Linux  man-pages  project.   A
28       description  of  the project, and information about reporting bugs, can
29       be found at http://www.kernel.org/doc/man-pages/.
30
31
32
33GNU                               1993-04-11                         MEMSET(3)
Impressum