xref: /original-bsd/lib/libc/string/memset.3 (revision 502feadc)
Copyright (c) 1990 The Regents of the University of California.
All rights reserved.

This code is derived from software contributed to Berkeley by
Chris Torek.

%sccs.include.redist.man%

@(#)memset.3 5.1 (Berkeley) 05/15/90

MEMSET 3 ""
C 7
NAME
memset - write a byte to byte string
SYNOPSIS
#include <string.h>

void *
memset(void *b, int c, size_t len);
DESCRIPTION
Memset writes len bytes of value c (converted to an unsigned char) to the string b .
SEE ALSO
bzero(3), swab(3)
STANDARDS
Memset conforms to ANSI X3.159-1989 (``ANSI C'').