memset


Memory set

[Classification]

Standard library

[Syntax]

#include <string.h>

void *memset(const void *s, int c, size_t length);

[Return value]

Returns the value of s.

[Description]

This function copies the value of c (converted into unsigned char type) to the first length character of an object indicated by s.