_strset

Sets the characters in a string.

char * _strset (char * string, int c);

char * strset (char * string, int c);

Required Header
<string.h>

Return Value

The string is returned.

Parameters

string

  A string

c

  The character to set

Remarks

The _strset function copies c to all the characters in str up until the null-terminator character.

String

See Also    memset _strnset