Fills a character string with a character.
#include <extras/extras_string.h> char * strset(char *str, int c);
str
A pointer to a character string.
c
The character to fill with.
This function stores c in the string pointed to by str. The function always ensures that the character string is null-terminated.
The function returns str.
This facility is not specified in the ISO/IEC standards. It is an EWL extension of the standard libraries.