sendfile_stub.go 344 B

12345678910111213
  1. // Copyright 2011 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. //go:build aix || (js && wasm) || netbsd || openbsd || ios
  5. package net
  6. import "io"
  7. func sendFile(c *netFD, r io.Reader) (n int64, err error, handled bool) {
  8. return 0, nil, false
  9. }