Function std::os::env

pub fn env() -> ~[(~str, ~str)]

Returns a vector of (variable, value) pairs for all the environment variables of the current process.