rustix::backend::net::syscalls

Function getsockname

Source
pub(crate) fn getsockname(fd: BorrowedFd<'_>) -> Result<SocketAddrAny>