Source file src/os/zero_copy_stub.go

     1  // Copyright 2020 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build !linux
     6  
     7  package os
     8  
     9  import "io"
    10  
    11  func (f *File) writeTo(w io.Writer) (written int64, handled bool, err error) {
    12  	return 0, false, nil
    13  }
    14  
    15  func (f *File) readFrom(r io.Reader) (n int64, handled bool, err error) {
    16  	return 0, false, nil
    17  }
    18  

View as plain text