MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / user

Function user

src/sys/proc.rs:460–465  ·  view source on GitHub ↗

User

()

Source from the content-addressed store, hash-verified

458
459// User
460pub fn user() -> String
461{
462 let tab = PROCTAB.read();
463 let proc = &tab[id()];
464 proc.data.directory.clone()
465}

Callers

nothing calls this directly

Calls 2

idFunction · 0.85
readMethod · 0.45

Tested by

no test coverage detected