Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LibertyOS-Development/kernel
/ setid
Function
setid
src/sys/proc.rs:405–408 ·
view source on GitHub ↗
Set ID
(id: usize)
Source
from the content-addressed store, hash-verified
403
404
// Set ID
405
pub fn setid(id: usize)
406
{
407
PID.store(id, Ordering::SeqCst)
408
}
409
410
411
// Set registers
Callers
2
exec
Method · 0.85
exit
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected