Skip to content

Commit 1d2e548

Browse files
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>
1 parent 956879d commit 1d2e548

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: doc/go1.12.html

+9
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,15 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
653653
This may cause the method to run more slowly than in previous releases.
654654
</p>
655655

656+
<p><!--CL 155517 -->
657+
<a href="/pkg/os/#File"><code>File</code></a> now supports
658+
a <a href="/pkg/os/#File.SyscallConn"><code>SyscallConn</code></a>
659+
method returning
660+
a <a href="/pkg/syscall/#RawConn"><code>syscall.RawConn</code></a>
661+
interface value. This may be used to invoke system-specific
662+
operations on the underlying file descriptor.
663+
</p>
664+
656665
</dl><!-- os -->
657666

658667
<dl id="path/filepath"><dt><a href="/pkg/path/filepath/">path/filepath</a></dt>

0 commit comments

Comments
 (0)