MEMSET(3) Library Functions Manual MEMSET(3)
NAME
memset — set bytes
in memory
SYNOPSIS
#include <string.h> void *memset(void *s, int c, size_t n);
DESCRIPTION
The memset() function copies c (converted to an unsigned char ) into each of the first n bytes of the object pointed to by s .
RETURN VALUE
The memset() function returns s ; no return value is reserved to indicate an error.
ERRORS
No errors are defined.
EXAMPLES
None.
APPLICATION USAGE
None.
SEE ALSO
DERIVATION
Derived from Issue 1 of the SVID.
February 1997 posix.fail