SIMPLE SOLUTIONS

STRSET(3PUB) - man page online | library functions

Set all characters in a string to a given character.

Chapter
C Programmer's Manual
STRSET(3pub)                          C Programmer's Manual                          STRSET(3pub)

NAME

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

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

strset returns its first argument.

SEE ALSO

publib(3), memset(3)

AUTHOR

Lars Wirzenius (@helsinki.fi)
Publib C Programmer's Manual STRSET(3pub)
This manual Reference Other manuals
strset(3pub) referred by
refer to memset(3) | publib(3pub)