Home | History | Annotate | Download | only in host

Lines Matching full:srcfd

116 static int copyFileContents(const char* dst, int dstFd, const char* src, int srcFd)
125 readCount = read(srcFd, buf, sizeof(buf));
212 int srcFd, dstFd, statResult, copyResult;
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);
315 srcFd = open(srcRsrcName, O_RDONLY);
318 if (srcFd >= 0 && dstFd >= 0) {
320 srcRsrcName, srcFd);
321 (void) close(srcFd);