]> Cypherpunks repositories - gostls13.git/commitdiff
doc: go1.12: mention os.File.SyscallConn
authorIan Lance Taylor <iant@golang.org>
Tue, 8 Jan 2019 23:18:44 +0000 (15:18 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 8 Jan 2019 23:33:01 +0000 (23:33 +0000)
Updates #24331

Change-Id: I2d7c996bbe29d5b3922588e199a106eb722c02e6
Reviewed-on: https://go-review.googlesource.com/c/156839
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/go1.12.html

index cb17b552f07ecb689cc5b0787a955c9690d9dead..568920df6d715b32dcf791fa1b3005cf537e75e0 100644 (file)
@@ -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>