Searched refs:new_str (Results 1 – 1 of 1) sorted by relevance
268 char *new_str; in replace_word() local280 new_str = Calloc(new_len + 1); // +1 for '\0' in replace_word()281 strncpy(new_str, *str, pos); in replace_word()282 strcat(new_str, substr); in replace_word()283 strcat(new_str, *str + pos + len); in replace_word()287 *str = new_str; in replace_word()