Searched refs:srcFd (Results 1 – 1 of 1) sorted by relevance
/build/make/tools/libhost/ |
D | CopyFile.c | 116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) in copyFileContents() argument 125 readCount = read(srcFd, buf, sizeof(buf)); in copyFileContents() 212 int srcFd, dstFd, statResult, copyResult; in copyRegular() local 243 srcFd = open(src, O_RDONLY | O_BINARY, 0); in copyRegular() 244 if (srcFd < 0) { in copyRegular() 258 (void) close(srcFd); in copyRegular() 275 (void) close(srcFd); in copyRegular() 287 (void) close(srcFd); in copyRegular() 291 copyResult = copyFileContents(dst, dstFd, src, srcFd); in copyRegular() 293 (void) close(srcFd); in copyRegular() [all …]
|