Home
last modified time | relevance | path

Searched refs:readCount (Results 1 – 1 of 1) sorted by relevance

/build/libs/host/
DCopyFile.c119 ssize_t readCount, writeCount; in copyFileContents() local
125 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()