logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                                 STRSET(3pub)

Description

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

Name

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

Return Value

strset returns its first argument.

See Also

publib(3), memset(3)

Synopsis

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

See Also