Searched defs:srcFd (Results 1 - 2 of 2) sorted by relevance

/build/make/tools/libhost/
H A DCopyFile.c116 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...]
/build/tools/libhost/
H A DCopyFile.c116 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 51 milliseconds