Searched refs:writtenSz (Results 1 – 1 of 1) sorted by relevance
112 size_t writtenSz = 0; in files_writeToFd() local113 while (writtenSz < fileSz) { in files_writeToFd()114 ssize_t sz = TEMP_FAILURE_RETRY(write(fd, &buf[writtenSz], fileSz - writtenSz)); in files_writeToFd()118 writtenSz += sz; in files_writeToFd()169 size_t writtenSz = 0; in files_sendToSocketNB() local170 while (writtenSz < fileSz) { in files_sendToSocketNB()172 TEMP_FAILURE_RETRY(send(fd, &buf[writtenSz], fileSz - writtenSz, MSG_DONTWAIT)); in files_sendToSocketNB()176 writtenSz += sz; in files_sendToSocketNB()189 size_t writtenSz = 0; in files_sendToSocket() local190 while (writtenSz < fileSz) { in files_sendToSocket()[all …]