aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorqmuntal <quimmuntal@gmail.com>2024-02-18 20:18:08 +0100
committerQuim Muntal <quimmuntal@gmail.com>2024-02-27 16:41:18 +0000
commitf7777688ca19584ed7c278431560f6a545822370 (patch)
tree2be0aad569f2efa5a070cc753d96db0ac4a70165 /doc
parent320f1be51f90fd7432b24769257df6f4061142ae (diff)
downloadgo-f7777688ca19584ed7c278431560f6a545822370.tar.gz
go-f7777688ca19584ed7c278431560f6a545822370.zip
doc: document os.ModeSocket support on Windows
Updates #33357. Change-Id: I66866475447e03f604202f34ddfbafdc0512cb72 Reviewed-on: https://go-review.googlesource.com/c/go/+/565135 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/next/6-stdlib/99-minor/os/33357.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/next/6-stdlib/99-minor/os/33357.md b/doc/next/6-stdlib/99-minor/os/33357.md
new file mode 100644
index 0000000000..3e80943263
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/os/33357.md
@@ -0,0 +1,3 @@
+The [`os.Stat`](/os#Stat) function now sets the [`os.ModeSocket`](/os#ModeSocket)
+bit for files that are Unix sockets on Windows. These files are identified by
+having a reparse tag set to `IO_REPARSE_TAG_AF_UNIX`.