DOKK / manpages / debian 10 / publib-dev / strset.3pub.en
STRSET(3pub) C Programmer's Manual STRSET(3pub)

strset - set all characters in a string to a given character

#include <publib.h>
char *strset(char *str, int c);

strset will set all characters (before the terminating '\0') in the string str to c.

strset returns its first argument.

publib(3), memset(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)

C Programmer's Manual Publib