Home
last modified time | relevance | path

Searched refs:fnew (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/gatt/settings/src/
Dsettings.c132 FILE *fnew = NULL; in settings_custom_save() local
137 fnew = fopen(SETTINGS_FILE_TMP, "w"); in settings_custom_save()
138 if (fnew == NULL) { in settings_custom_save()
153 if (fnew != 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()
186 if (fnew != NULL) { in settings_custom_save()
187 entry_check_and_copy(fcur, fnew, name); in settings_custom_save()
192 if (fnew != NULL) { in settings_custom_save()
[all …]