zig/lib/std/os
Kenta Iwasaki aad8491dbd os: make msghdr, msghdr_const, and sockaddr_storage backwards-compatible
`msghdr` and `msghdr_const` definitions have been added back the way
they were in std.os. std.os.sendmsg has also been modified to accept a
msghdr_const again to ensure backwards-compatibility with this PR.
Underneath the hood, std.os.sendmsg will @ptrCast the provided
msghdr_const into a std.x.os.Socket.Message.

`sockaddr_storage` definitions have been added back the way they were in
std.os, except that it now simply aliases
std.x.os.Socket.Address.Native.Storage as all of
std.x.os.Socket.Address.Native.Storage's fields are equivalent to the
fields that were previously defined for std.x.os.bits.sockaddr_storage.

std.x.os.Socket.sendMessage now no longer is a stub that aliases
std.os.sendmsg, but instead calls and handles
errors from std.os.system.sendmsg directly.

Addresses feedback to urge backwards compatibility from @andrewrk.
2021-06-01 18:24:43 +09:00
..
bits os: make msghdr, msghdr_const, and sockaddr_storage backwards-compatible 2021-06-01 18:24:43 +09:00
linux housekeeping: builtin.arch → builtin.cpu.arch 2021-05-24 13:38:47 -04:00
uefi Const correct GUID parameter of getInfo and setInfo 2021-05-20 18:53:59 -04:00
windows os: make msghdr, msghdr_const, and sockaddr_storage backwards-compatible 2021-06-01 18:24:43 +09:00
bits.zig initial support for haiku past stage0 2021-02-25 16:41:42 -07:00
darwin.zig std: change @import("builtin") to std.builtin 2021-04-15 19:06:39 -07:00
dragonfly.zig Year++ 2020-12-31 15:45:24 -08:00
freebsd.zig Year++ 2020-12-31 15:45:24 -08:00
haiku.zig initial support for haiku past stage0 2021-02-25 16:41:42 -07:00
linux.zig x: replace std.builtin with std.Target.current 2021-06-01 18:24:43 +09:00
netbsd.zig Year++ 2020-12-31 15:45:24 -08:00
openbsd.zig Year++ 2020-12-31 15:45:24 -08:00
test.zig std: update regarding std.builtin reorganization 2021-05-17 16:08:09 -07:00
uefi.zig std.os.uefi.Guid fixes (#8032) 2021-02-21 12:17:59 +02:00
wasi.zig Year++ 2020-12-31 15:45:24 -08:00
windows.zig x/os/net: remove unnecessary comptime prefix in resolveScopeID() 2021-06-01 18:24:43 +09:00