aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/libcall_bsd_regfile.go
blob: 4f8656303c31b342c4af4558b4a5a78c64b8adb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2019 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 darwin || dragonfly || freebsd || openbsd || (solaris && amd64) || (solaris && sparc64)
// +build darwin dragonfly freebsd openbsd solaris,amd64 solaris,sparc64

package syscall

//sys	sendfile(outfd int, infd int, offset *Offset_t, count int) (written int, err error)
//sendfile(outfd _C_int, infd _C_int, offset *Offset_t, count Size_t) Ssize_t