Skip to content

Commit

Permalink
doc: go1.12: mention os.File.SyscallConn
Browse files Browse the repository at this point in the history
Updates #24331

Change-Id: I2d7c996bbe29d5b3922588e199a106eb722c02e6
Reviewed-on: https://go-review.googlesource.com/c/156839
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
  • Loading branch information
ianlancetaylor committed Jan 8, 2019
1 parent 956879d commit 1d2e548
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions doc/go1.12.html
Expand Up @@ -653,6 +653,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
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>
Expand Down

0 comments on commit 1d2e548

Please sign in to comment.