zig/lib/std/os/windows
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
..
advapi32.zig Year++ 2020-12-31 15:45:24 -08:00
bits.zig Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen 2021-05-12 16:41:20 -07:00
gdi32.zig Year++ 2020-12-31 15:45:24 -08:00
kernel32.zig handle relative paths with too many ".." 2021-05-21 01:29:40 -06:00
lang.zig Year++ 2020-12-31 15:45:24 -08:00
ntdll.zig std.os.windows.GetFinalPathNameByHandle: address non-structural review comments 2021-01-11 17:48:18 -07:00
ntstatus.zig move behavior tests from test/stage1/ to test/ 2021-04-29 15:54:04 -07:00
ole32.zig Year++ 2020-12-31 15:45:24 -08:00
psapi.zig Year++ 2020-12-31 15:45:24 -08:00
shell32.zig Year++ 2020-12-31 15:45:24 -08:00
sublang.zig Year++ 2020-12-31 15:45:24 -08:00
test.zig handle relative paths with too many ".." 2021-05-21 01:29:40 -06:00
user32.zig Merge pull request #8776 from notviri/windows-wm-constants 2021-05-20 18:51:45 -04:00
win32error.zig std: fix compile errors caught by stage2 AstGen 2021-04-22 18:07:46 -07:00
ws2_32.zig os: make msghdr, msghdr_const, and sockaddr_storage backwards-compatible 2021-06-01 18:24:43 +09:00