msghdr.msg_iovlen is inconsistently declared in gnu and musl #2971
Labels
breakage-candidate
C-bug
Category: bug
E-medium
E-medium Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
O-gnu
Milestone
While using socket API in cloud-hypervisor project, I noticed an inconsistency with
msghdr
struct betweengnu
andmusl
targets.In gnu
msghdr.msg_iovlen
is declared assize_t
libc/src/unix/linux_like/linux/gnu/mod.rs
Line 95 in 0488a83
In musl
msghdr.msg_iovlen
is declared asc_int
libc/src/unix/linux_like/linux/musl/b64/mod.rs
Line 98 in 0488a83
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?
The text was updated successfully, but these errors were encountered: