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
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);DESCRIPTIONMemset writes len bytes of value c (converted to an unsigned char) to the string b .SEE ALSObzero(3), swab(3)STANDARDSMemset conforms to ANSI X3.159-1989 (``ANSI C'').