Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for copy_file_range (0.2 sec)

  1. src/os/zero_copy_linux.go

    }
    
    func (f *File) readFrom(r io.Reader) (written int64, handled bool, err error) {
    	// Neither copy_file_range(2) nor splice(2) supports destinations opened with
    	// O_APPEND, so don't bother to try zero-copy with these system calls.
    	//
    	// Visit https://man7.org/linux/man-pages/man2/copy_file_range.2.html#ERRORS and
    	// https://man7.org/linux/man-pages/man2/splice.2.html#ERRORS for details.
    	if f.appendMode {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top