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

Function getpgrp

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

Source from the content-addressed store, hash-verified

1391
1392 #[pyfunction]
1393 fn getpgrp(vm: &VirtualMachine) -> PyObjectRef {
1394 vm.ctx.new_int(unistd::getpgrp().as_raw()).into()
1395 }
1396
1397 #[cfg(not(target_os = "redox"))]
1398 #[pyfunction]

Callers

nothing calls this directly

Calls 2

new_intMethod · 0.45
as_rawMethod · 0.45

Tested by

no test coverage detected