Lines Matching refs:bytes_read
201 ssize_t bytes_read = read(fd_read, read_buf.data(), read_buf.size());202 if (bytes_read == -1) {206 llen -= bytes_read;207 if (write(out_fd, read_buf.data(), bytes_read) == -1) {211 if (bytes_read == 0) { // this should never happen, but just in case