Function rustix::backend::net::read_sockaddr::read_sockaddr_os

source ·
pub(crate) unsafe fn read_sockaddr_os(
    storage: *const sockaddr,
    len: usize,
) -> SocketAddrAny
Expand description

Read a socket address returned from the OS.

§Safety

storage must point to a valid socket address returned from the OS.