Searched refs:srcFp (Results 1 – 2 of 2) sorted by relevance
94 FILE *srcFp = fopen(srcFile, "rb"); in CopyFile() local95 if (srcFp == nullptr) { in CopyFile()102 fclose(srcFp); in CopyFile()109 while ((bytes = fread(buffer, 1, sizeof(buffer), srcFp)) > 0) { in CopyFile()116 fclose(srcFp); in CopyFile()
97 FILE *srcFp = fopen(srcFile, "rb"); in CopyFile() local98 if (srcFp == nullptr) { in CopyFile()105 fclose(srcFp); in CopyFile()112 while ((bytes = fread(buffer, 1, sizeof(buffer), srcFp)) > 0) { in CopyFile()119 if (fclose(srcFp)) { in CopyFile()