strreplace (9) - Linux Manuals
strreplace: Replace all occurrences of character in string.
Command to display strreplace
manual in Linux: $ man 9 strreplace
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
Pages related to strreplace
- strrchr (9) - Find the last occurrence of a character in a string
- strcat (9) - Append one NUL-terminated string to another
- strchr (9) - Find the first occurrence of a character in a string
- strchrnul (9) - Find and return a character in a string, or end of string
- strcmp (9) - Compare two strings
- strcpy (9) - Copy a NUL terminated string
- strcspn (9) - Calculate the length of the initial substring of s which does not contain letters in reject