Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ getuid
Function
getuid
src/process/id.rs:33–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
#[inline]
32
#[must_use]
33
pub fn getuid() -> Uid {
34
backend::ugid::syscalls::getuid()
35
}
36
37
/// `geteuid()`—Returns the process' effective user ID.
38
///
Callers
3
test_setuid
Function · 0.50
test_setresuid
Function · 0.50
test_file
Function · 0.50
Calls
no outgoing calls
Tested by
3
test_setuid
Function · 0.40
test_setresuid
Function · 0.40
test_file
Function · 0.40