Lines Matching defs:str
166 realloc_strncat(char **str, const char *append, size_t len)
171 if (*str == NULL)
174 old_len = strlen(*str);
179 if (*str != NULL)
180 memcpy(new_str, *str, old_len);
183 free(*str);
184 *str = new_str;
188 realloc_strcat(char **str, const char *append)
193 if (*str == NULL)
196 old_len = strlen(*str);
201 if (*str != NULL)
202 memcpy(new_str, *str, old_len);
204 free(*str);
205 *str = new_str;