msghdr and cmsghdr mismatch for alpine musl

d007 d007 at gmail.com
Sat Nov 25 05:04:57 UTC 2023


`import core.sys.posix.sys.socket : msghdr, cmsghdr, iovec;`


`msg_iovlen`, `msg_controllen`, `cmsg_len` is ulong for x86-64 in 
druntime.



in alpine musl, they are int,  socklen_t(uint), socklen_t(uint).



Is this mismatch can cause problems is I use related api ?


More information about the Digitalmars-d-learn mailing list