MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / test_setresgid

Function test_setresgid

tests/thread/id.rs:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29#[cfg(feature = "process")]
30#[test]
31fn test_setresgid() {
32 let gid = process::getgid();
33 thread::set_thread_res_gid(gid, gid, gid).unwrap();
34}

Callers

nothing calls this directly

Calls 2

set_thread_res_gidFunction · 0.85
getgidFunction · 0.50

Tested by

no test coverage detected