Lines Matching refs:array
168 * Appends a copy of the given string to the given string array,
169 * ensuring that the last element in the array is NULL. This array
172 * Note when an error occurs and NULL is returned, array is not freed.
173 * Subsequently callers should save a pointer to the original array
176 * @param array
177 * the array to append to, or NULL to create a new array
180 * the string to copy and add to the array
182 * @return a pointer to the realloc'd (and possibly moved) array
188 extern char ** append_to_string_array(char **array, char *str);
191 * Frees each element of the given string array, then frees the array
194 * @param array
195 * a NULL-terminated string array
197 extern void free_string_array(char **array);