aboutsummaryrefslogtreecommitdiff
path: root/src/internal/poll/sendfile.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/poll/sendfile.go')
-rw-r--r--src/internal/poll/sendfile.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/poll/sendfile.go b/src/internal/poll/sendfile.go
new file mode 100644
index 0000000000..41b0481c1a
--- /dev/null
+++ b/src/internal/poll/sendfile.go
@@ -0,0 +1,7 @@
+// Copyright 2024 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.
+
+package poll
+
+var TestHookDidSendFile = func(dstFD *FD, src int, written int64, err error, handled bool) {}