aboutsummaryrefslogtreecommitdiff
path: root/src/net/sendfile_stub.go
blob: 7f31cc63e1ed6a909a98270f4611a257e662cffd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build !(linux || (darwin && !ios) || dragonfly || freebsd || solaris || windows)

package net

import "io"

const supportsSendfile = false

func sendFile(c *netFD, r io.Reader) (n int64, err error, handled bool) {
	return 0, nil, false
}