Searched refs:readCount (Results 1 – 1 of 1) sorted by relevance
119 ssize_t readCount, writeCount; in copyFileContents() local125 readCount = read(srcFd, buf, sizeof(buf)); in copyFileContents()126 if (readCount < 0) { in copyFileContents()132 if (readCount > 0) { in copyFileContents()133 writeCount = write(dstFd, buf, readCount); in copyFileContents()139 if (writeCount != readCount) { in copyFileContents()141 dst, writeCount, readCount); in copyFileContents()146 if (readCount < (ssize_t) sizeof(buf)) in copyFileContents()