chrFill

Fill a string with a given character

Description:

The given character string is filled with the specified character.

Invocation

void chrFill( char cvalue, char ∗string, size_t string_length )

Parameters :

cvalue
The character specified to fill the string.
string
Pointer to an array in which to return a null terminated string holding the string to be filled.
string_length
The declared length of the supplied ’ string’ array. This should include room for the terminating null.