Searched refs:srcfd (Results 1 – 1 of 1) sorted by relevance
380 int srcfd, destfd; in ensure_config_file_exists() local398 srcfd = TEMP_FAILURE_RETRY(open(SUPP_CONFIG_TEMPLATE, O_RDONLY)); in ensure_config_file_exists()399 if (srcfd < 0) { in ensure_config_file_exists()406 close(srcfd); in ensure_config_file_exists()411 while ((nread = TEMP_FAILURE_RETRY(read(srcfd, buf, sizeof(buf)))) != 0) { in ensure_config_file_exists()414 close(srcfd); in ensure_config_file_exists()423 close(srcfd); in ensure_config_file_exists()