MCPcopy Index your code
hub / github.com/RustPython/RustPython / getegid

Function getegid

crates/vm/src/stdlib/posix.rs:1380–1383  ·  view source on GitHub ↗
(vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

1378
1379 #[pyfunction]
1380 fn getegid(vm: &VirtualMachine) -> PyObjectRef {
1381 let egid = unistd::getegid().as_raw();
1382 vm.ctx.new_int(egid).into()
1383 }
1384
1385 #[pyfunction]
1386 fn getpgid(pid: u32, vm: &VirtualMachine) -> PyResult {

Callers

nothing calls this directly

Calls 2

as_rawMethod · 0.45
new_intMethod · 0.45

Tested by

no test coverage detected