MCPcopy 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
288pub 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

idFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected