Open
Description
While using socket API in cloud-hypervisor project, I noticed an inconsistency with msghdr
struct between gnu
and musl
targets.
In gnu
msghdr.msg_iovlen
is declared as size_t
libc/src/unix/linux_like/linux/gnu/mod.rs
Line 95 in 0488a83
In musl
msghdr.msg_iovlen
is declared as c_int
cloud-hypervisor/cloud-hypervisor#4642 (comment) describes the error I encountered due to this inconsistency.
Is this expected? If not, could you please fix it?