mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
alongside the typical msghdr struct, Zig has added a msghdr_const type that can be used with sendmsg which allows const data to be provided. I believe that data pointed to by the iov and control fields in msghdr are also left unmodified, in which case they can be marked const as well.
325 lines
7.7 KiB
325 lines
7.7 KiB