Everything

memset


Sets a specified character a specified number of times at the beginning of a specified storage area.

[Format]

#include <string.h>

void *memset (void *s, long c, size_t n);

[Parameters]

s Pointer to storage area to set characters in

c Character to be set

n Number of characters to be set

[Return values]

Value of s

[Remarks]

The memset function sets the character specified by c a number of times specified by n in the storage area specified by s.