Function nix::unistd::getpeereid

source ·
pub fn getpeereid(fd: RawFd) -> Result<(Uid, Gid)>
Available on crate features socket and user only.
Expand description

Get the effective user ID and group ID associated with a Unix domain socket.

See also getpeereid(3)