[−][src]Function simple_libc::process::getreuid
pub fn getreuid() -> (UidT, UidT)
Gets the real and effective user IDs via the most efficient method possible.
On platforms with getresuid()
, this function calls that function and discards
the saved UID. On other platforms, it combines the results of getuid()
and
geteuid()
.