]> Cypherpunks repositories - gostls13.git/commitdiff
doc: document os.ModeSocket support on Windows
authorqmuntal <quimmuntal@gmail.com>
Sun, 18 Feb 2024 19:18:08 +0000 (20:18 +0100)
committerQuim Muntal <quimmuntal@gmail.com>
Tue, 27 Feb 2024 16:41:18 +0000 (16:41 +0000)
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>
doc/next/6-stdlib/99-minor/os/33357.md [new file with mode: 0644]

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 (file)
index 0000000..3e80943
--- /dev/null
@@ -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`.