MEMSET(3) Library Functions Manual MEMSET(3)

memsetset bytes in memory

#include <string.h>

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

The memset() function copies c (converted to an unsigned char ) into each of the first n bytes of the object pointed to by s .

The memset() function returns s ; no return value is reserved to indicate an error.

No errors are defined.

None.

None.

<string.h> .

Derived from Issue 1 of the SVID.

February 1997 posix.fail