[src]

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.

Invalid UTF-8 bytes are replaced with \uFFFD. See str::from_utf8_lossy() for details.