Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/LibertyOS-Development/kernel
/ envs
Function
envs
src/sys/proc.rs:288–293 ·
view source on GitHub ↗
Environments
()
Source
from the content-addressed store, hash-verified
286
287
// Environments
288
pub fn envs() -> BTreeMap<String, String>
289
{
290
let tab = PROCTAB.read();
291
let proc = &tab[id()];
292
proc.data.env.clone()
293
}
294
295
296
// Exit
Callers
nothing calls this directly
Calls
2
id
Function · 0.85
read
Method · 0.45
Tested by
no test coverage detected