Skip to main content
Module unix
std
1.97.0-nightly
(a5c825cd8 2026-04-14)
Module unix
Module Items
Re-exports
Statics
Functions
In std::
sys::
env
std
::
sys
::
env
Module
unix
Copy item path
Source
Re-exports
§
pub use super::common::
Env
;
Statics
§
ENV_
LOCK
🔒
Functions
§
env
Returns a vector of (variable, value) byte-vector pairs for all the environment variables of the current process.
env_
read_
lock
environ
⚠
Neither FreeBSD nor Apple
getenv
setenv
⚠
unsetenv
⚠