Searched defs:srcFd (Results 1 - 1 of 1) sorted by relevance
/build/libs/host/ |
H A D | CopyFile.c | 116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd) argument 125 readCount = read(srcFd, buf, sizeof(buf)); 212 int srcFd, dstFd, statResult, copyResult; local 243 srcFd = open(src, O_RDONLY | O_BINARY, 0); 244 if (srcFd < 0) { 258 (void) close(srcFd); 275 (void) close(srcFd); 287 (void) close(srcFd); 291 copyResult = copyFileContents(dst, dstFd, src, srcFd); 293 (void) close(srcFd); [all...] |
Completed in 5134 milliseconds