(vm: &VirtualMachine)
| 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 { |