Searched refs:fcur (Results 1 – 1 of 1) sorted by relevance
131 FILE *fcur = fopen(SETTINGS_FILE, "r+"); in settings_custom_save() local134 if (fcur == NULL) { in settings_custom_save()135 fcur = fopen(SETTINGS_FILE, "w"); in settings_custom_save()144 if (fcur == NULL) { in settings_custom_save()154 if (entry_check_and_copy(fcur, fnew, name) < 0) { in settings_custom_save()163 if (fputs(bufvname, fnew != NULL ? fnew : fcur) < 0) { in settings_custom_save()181 if (fputs(bufval, fnew != NULL ? fnew : fcur) < 0) { in settings_custom_save()187 entry_check_and_copy(fcur, fnew, name); in settings_custom_save()190 fclose(fcur); in settings_custom_save()