Searched refs:old_char (Results 1 – 2 of 2) sorted by relevance
1166 char *string_replace_char(char *str, char old_char, char new_char) { in string_replace_char() argument1168 assert(old_char != '\0'); in string_replace_char()1170 assert(old_char != new_char); in string_replace_char()1172 for (char *p = strchr(str, old_char); p; p = strchr(p + 1, old_char)) in string_replace_char()
237 char *string_replace_char(char *str, char old_char, char new_char);