summaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.26/src/net/sendfile_nonwindows.go
blob: 2106d378951e808208f41a00b2ae9b1446dcadca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2025 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

package net

// Always true except for workstation and client versions of Windows
func supportsSendfile() bool {
	return true
}