mirror of
https://github.com/ziglang/zig.git
synced 2026-01-21 06:45:24 +00:00
add sockaddr_un to os/bits/windows
This commit is contained in:
parent
d99ecef943
commit
d1eabe81a9
@ -186,6 +186,11 @@ pub const sockaddr_in6 = extern struct {
|
||||
pub const in6_addr = [16]u8;
|
||||
pub const in_addr = u32;
|
||||
|
||||
pub const sockaddr_un = extern struct {
|
||||
family: sa_family_t = AF_UNIX,
|
||||
path: [108]u8,
|
||||
};
|
||||
|
||||
pub const AF_UNSPEC = 0;
|
||||
pub const AF_UNIX = 1;
|
||||
pub const AF_INET = 2;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user