411 REFERENCE · Wikibooks
C programming/string.h/memset
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
The C language function included in C standard library (stdlib), which sets given bytes in memory.
Synopsis
#include <string.h>
void *memset(void *s, int c, size_t n);
The memset() copies c into each of the n first bytes of the object pointed to by s.
Return value
The function returns the pointer s. There is no defined value to return when an error occurs.
Source
Definition of memset from OpenGroup
deep