splice_stub.go 287 B

12345678910111213
  1. // Copyright 2018 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 !linux
  5. package net
  6. import "io"
  7. func splice(c *netFD, r io.Reader) (int64, error, bool) {
  8. return 0, nil, false
  9. }