Scroll to navigation

STRREPLACE(9) Basic C Library Functions STRREPLACE(9)

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

March 2017 Kernel Hackers Manual 4.10