libc
libc copied to clipboard
`AF_SYSTEM` and `AF_SYS_CONTROL` types do not fit in `sockaddr_ctl`
I'm trying to assign AF_SYSTEM to sockaddr_ctl.sc_family which is a u_char, but AF_SYSTEM is c_int.
AS_SYS_CONTROL should be u16 in sockaddr_ctl.ss_sysaddr as well yet its definition is c_int.
pub const AF_SYS_CONTROL: ::c_int = 2;
Are these flags ever passed to functions?
main is now for 1.0, so your PR can probably be adjusted.