Searched defs:dstFd (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 133 writeCount = write(dstFd, buf, readCount); 212 int srcFd, dstFd, statResult, copyResult; local 251 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); 253 if (dstFd < 0) { 281 dstFd = open(dst, O_CREAT | O_TRUNC | O_WRONLY | O_BINARY, 0644); 284 if (dstFd < 0) { 291 copyResult = copyFileContents(dst, dstFd, src, srcFd); 294 (void) close(dstFd); 316 dstFd [all...] |
Completed in 3 milliseconds