Searched refs:fileFd (Results 1 – 1 of 1) sorted by relevance
68 … int fileFd = open(fileName, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in SaveFile() local69 if (fileFd <= 0) { in SaveFile()70 DISPLAY_TEST_LOGE("Open file failed %{public}d", fileFd); in SaveFile()74 int hasWriten = write(fileFd, data, size); in SaveFile()76 close(fileFd); in SaveFile()