blob: 49d1f535a61eededd638762755a155909023beab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
.\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
.\" May be distributed under the GNU General Public License
.\" References consulted:
.\" Linux libc source code
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 18:49:23 1993 by Rik Faith (faith@cs.unc.edu)
.TH MEMSET 3 "April 11, 1993" "GNU" "Linux Programmer's Manual"
.SH NAME
memset \- fill memory with a constant byte
.SH SYNOPSIS
.nf
.B #include <string.h>
.sp
.BI "void *memset(void *" s ", int " c ", size_t " n );
.fi
.SH DESCRIPTION
The \fBmemset()\fP function fills the first \fIn\fP bytes of the
memory area pointed to be \fIs\fP with the constant byte \fIc\fP.
.SH "RETURN VALUE"
The \fBmemset()\fP function returns a pointer to the memory area
\fIs\fP.
.SH "CONFORMING TO"
SVID 3, BSD 4.3, ISO 9899
.SH SEE ALSO
.BR bzero "(3), " swab (3)
|