copy_file implementation that uses read/write loop (fallback using a stack buffer)
| 774 | |
| 775 | //! copy_file implementation that uses read/write loop (fallback using a stack buffer) |
| 776 | int copy_file_data_read_write_stack_buf(int infile, int outfile) |
| 777 | { |
| 778 | char stack_buf[min_read_write_buf_size]; |
| 779 | return copy_file_data_read_write_impl(infile, outfile, stack_buf, sizeof(stack_buf)); |
| 780 | } |
| 781 | |
| 782 | //! copy_file implementation that uses read/write loop |
| 783 | int copy_file_data_read_write(int infile, int outfile, uintmax_t size, std::size_t blksize) |
no test coverage detected