memset#

Synopsis#

#include <string.h>

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

Status#

Partially implemented

Conformance#

IEEE Std 1003.1-2017

Description#

The memset() function shall copy 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 shall return s; no return value is reserved to indicate an error.

Errors#

No errors are defined.

Tests#

Untested

Known bugs#

None

See Also#

  1. Standard library functions

  2. Table of Contents