Lines Matching refs:bytes_read
569 DWORD bytes_read = 0;
570 if (!ReadFile(read_pipe.get(), buf, sizeof(buf), &bytes_read, NULL)) {
586 const size_t bytes_written = fwrite(buf, 1, bytes_read, stream.get());
587 if (bytes_written != bytes_read) {
588 fprintf(stderr, "Only wrote %zu of %lu bytes to %s\n", bytes_written, bytes_read,