char * print_list(struct CONFIG_LIST *list, char *file)
char * print_list(struct CONFIG_LIST *list, char *buffer)
char * print_list(struct CONFIG_LIST *list, char *file){     char buffer[512];     struct CONFIG_NODE *cur;     cur = list->list;     buffer[0] = '\0';     while(cur != NULL) {          strcat(buffer, cur->data);          strcat(buffer, " ");          cur = cur->next;     }     return buffer;}