Function rustix::backend::net::read_sockaddr::initialize_family_to_unspec

source ยท
pub(crate) unsafe fn initialize_family_to_unspec(storage: *mut sockaddr)
Expand description

Set the ss_family field of a socket address to AF_UNSPEC, so that we can test for AF_UNSPEC to test whether it was stored to.