aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2018-12-20 15:09:41 -0800
committerIan Lance Taylor <iant@golang.org>2018-12-27 16:36:34 +0000
commitc0914d5df3f12449f52e26eb0aaa58661ad92250 (patch)
tree30c007b7003fc56cd59e9a69562545c92df746e9 /src/syscall
parent6a64efc25004175e198e75191e215a7b1a08a2fa (diff)
downloadgo-c0914d5df3f12449f52e26eb0aaa58661ad92250.tar.xz
os: add SyscallConn method for os.File
Fixes #24331 Change-Id: I119c09a4259d852cdf8ea31b3e03e6f09a5f7bda Reviewed-on: https://go-review.googlesource.com/c/155517 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/net.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/net.go b/src/syscall/net.go
index 272d3afc38..531fa80d8f 100644
--- a/src/syscall/net.go
+++ b/src/syscall/net.go
@@ -26,7 +26,7 @@ type RawConn interface {
Write(f func(fd uintptr) (done bool)) error
}
-// Conn is implemented by some types in the net package to provide
+// Conn is implemented by some types in the net and os packages to provide
// access to the underlying file descriptor or handle.
type Conn interface {
// SyscallConn returns a raw network connection.