strreplace (9) - Linux Manuals

strreplace: Replace all occurrences of character in string.

NAME

strreplace - Replace all occurrences of character in string.

SYNOPSIS

char * strreplace(char s, char old, char new);

ARGUMENTS

s

The string to operate on.

old

The character being replaced.

new

The character old is replaced with.

DESCRIPTION

Returns pointer to the nul byte at the end of s.

COPYRIGHT