1 // Copyright 2019 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.
5 //go:build darwin || dragonfly || freebsd || openbsd || (solaris && amd64) || (solaris && sparc64)
6 // +build darwin dragonfly freebsd openbsd solaris,amd64 solaris,sparc64
10 //sys sendfile(outfd int, infd int, offset *Offset_t, count int) (written int, err error)
11 //sendfile(outfd _C_int, infd _C_int, offset *Offset_t, count Size_t) Ssize_t