(pid: u32, vm: &VirtualMachine)
| 1384 | |
| 1385 | #[pyfunction] |
| 1386 | fn getpgid(pid: u32, vm: &VirtualMachine) -> PyResult { |
| 1387 | let pgid = |
| 1388 | unistd::getpgid(Some(Pid::from_raw(pid as i32))).map_err(|e| e.into_pyexception(vm))?; |
| 1389 | Ok(vm.new_pyobj(pgid.as_raw())) |
| 1390 | } |
| 1391 | |
| 1392 | #[pyfunction] |
| 1393 | fn getpgrp(vm: &VirtualMachine) -> PyObjectRef { |
nothing calls this directly
no test coverage detected