aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2019-01-08 15:18:44 -0800
committerIan Lance Taylor <iant@golang.org>2019-01-08 23:33:01 +0000
commit1d2e548b428373461e92c7490edb49fc39df0c85 (patch)
tree05a7df190146c66f14a60101b24788115081a260
parent956879dd0bf31b26d2425c2eadbeb19b90812187 (diff)
downloadgo-1d2e548b428373461e92c7490edb49fc39df0c85.tar.gz
go-1d2e548b428373461e92c7490edb49fc39df0c85.zip
doc: go1.12: mention os.File.SyscallConn
Updates #24331 Change-Id: I2d7c996bbe29d5b3922588e199a106eb722c02e6 Reviewed-on: https://go-review.googlesource.com/c/156839 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
-rw-r--r--doc/go1.12.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/go1.12.html b/doc/go1.12.html
index cb17b552f0..568920df6d 100644
--- a/doc/go1.12.html
+++ b/doc/go1.12.html
@@ -653,6 +653,15 @@ for {
This may cause the method to run more slowly than in previous releases.
</p>
+ <p><!--CL 155517 -->
+ <a href="/pkg/os/#File"><code>File</code></a> now supports
+ a <a href="/pkg/os/#File.SyscallConn"><code>SyscallConn</code></a>
+ method returning
+ a <a href="/pkg/syscall/#RawConn"><code>syscall.RawConn</code></a>
+ interface value. This may be used to invoke system-specific
+ operations on the underlying file descriptor.
+ </p>
+
</dl><!-- os -->
<dl id="path/filepath"><dt><a href="/pkg/path/filepath/">path/filepath</a></dt>