pub fn var(name: &str) -> Option<OsString>
Returns the contents of an environment variable of name with some special handling for certain environment variables (like HOME) for platform compatibility.
name
HOME