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.
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.
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).