diff options
| author | Ian Lance Taylor <iant@golang.org> | 2018-12-20 15:09:41 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-12-27 16:36:34 +0000 |
| commit | c0914d5df3f12449f52e26eb0aaa58661ad92250 (patch) | |
| tree | 30c007b7003fc56cd59e9a69562545c92df746e9 /src/syscall | |
| parent | 6a64efc25004175e198e75191e215a7b1a08a2fa (diff) | |
| download | go-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.go | 2 |
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. |
