(self, vm: &VirtualMachine)
| 1058 | #[cfg(not(target_os = "redox"))] |
| 1059 | impl MknodArgs<'_> { |
| 1060 | fn _mknod(self, vm: &VirtualMachine) -> PyResult<i32> { |
| 1061 | Ok(unsafe { |
| 1062 | libc::mknod( |
| 1063 | self.path.clone().into_cstring(vm)?.as_ptr(), |
| 1064 | self.mode, |
| 1065 | self.device, |
| 1066 | ) |
| 1067 | }) |
| 1068 | } |
| 1069 | |
| 1070 | #[cfg(not(target_vendor = "apple"))] |
| 1071 | fn mknod(self, vm: &VirtualMachine) -> PyResult<()> { |
no test coverage detected