Sets a specified number of bytes in a given object to a given value.
#include <string.h> void *memset (void *s, int value, size_t size);Function Variants This function also has variants named _memset32 and _memset64 for use with 32-bit and 64-bit pointer sizes, respectively. See Section 1.8 for more information on using pointer-size-specific functions.
This function returns s. It does not check for the overflow of the receiving memory area pointed to by s.
x | The value of s. |