[libcxx-commits] [libcxx] Properly implement std::fs::is_socket() on Windows (PR #213233)

Yuriy Chernyshov via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 26 06:57:54 PDT 2026


================
@@ -341,6 +350,36 @@ struct scoped_test_env
     assert(::bind(fd, reinterpret_cast<::sockaddr*>(&address), sizeof(address)) == 0);
     return file;
   }
+#elif defined(_WIN32)
+    // Windows supports AF_UNIX (Unix domain) sockets, which materialize as a
----------------
georgthegreat wrote:

* Windows 10 version 1803 (April 2018 Update, build 17134)
* Windows Server 2019 (build 17763)

https://github.com/llvm/llvm-project/pull/213233


More information about the libcxx-commits mailing list