rustix::net::sockopt

Function get_socket_peercred

source
pub fn get_socket_peercred<Fd: AsFd>(fd: Fd) -> Result<UCred>
Expand description

getsockopt(fd, SOL_SOCKET, SO_PEERCRED)—Get credentials of Unix domain socket peer process.

§References