MCPcopy 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]
33pub fn getuid() -> Uid {
34 backend::ugid::syscalls::getuid()
35}
36
37/// `geteuid()`—Returns the process' effective user ID.
38///

Callers 3

test_setuidFunction · 0.50
test_setresuidFunction · 0.50
test_fileFunction · 0.50

Calls

no outgoing calls

Tested by 3

test_setuidFunction · 0.40
test_setresuidFunction · 0.40
test_fileFunction · 0.40