pub fn real_name() -> OsString
Expand description
Gets the real name of the user. This usually comes from the user’s
entry in the passwd
file. The encoding of the returned string is
system-defined. (On Windows, it is, however, always UTF-8.) If the
real user name cannot be determined, the string “Unknown” is
returned.
§Returns
the user’s real name.