rustix::net::sockopt

Function set_socket_passcred

source
pub fn set_socket_passcred<Fd: AsFd>(fd: Fd, value: bool) -> Result<()>
Expand description

setsockopt(fd, SOL_SOCKET, SO_PASSCRED, value)

See the module-level documentation for more.