[−][src]Function libuv::misc::os::get_passwd
pub fn get_passwd() -> Result<User>
Gets a subset of the password file entry for the current effective uid (not the real uid). The populated data includes the username, euid, gid, shell, and home directory. On non-Windows systems, all data comes from getpwuid_r(3). On Windows, uid, gid, and shell are all set to None.