Home
last modified time | relevance | path

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

/system/bt/osi/src/
Dconfig.c289 int dir_fd = -1; in config_save() local
307 dir_fd = TEMP_FAILURE_RETRY(open(directoryname, O_RDONLY)); in config_save()
308 if (dir_fd < 0) { in config_save()
367 if (fsync(dir_fd) < 0) { in config_save()
371 if (close(dir_fd) < 0) { in config_save()
385 if (dir_fd != -1) in config_save()
386 close(dir_fd); in config_save()