Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Constant

has_unix_sockets

Public Constant
std.Io.net.has_unix_sockets
pub const has_unix_sockets = switch (native_os)

Windows 10 added support for unix sockets in build 17063, redstone 4 is the first release to support them.

File

Io/net.zig:49
49
50
51
52
53
pub const has_unix_sockets = switch (native_os) {
    .windows => builtin.os.version_range.windows.isAtLeast(.win10_rs4) orelse false,
    .wasi => false,
    else => true,
}