memset() — Set buffer to value

Format

#include <string.h>

void *memset(void *dest, int c, size_t count);

General description

The memset() built-in function sets the first count bytes of dest to the value c converted to an unsigned int.

Returned value

memset() returns the value of dest.

Related Information