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

Function fchmod

crates/vm/src/stdlib/nt.rs:350–352  ·  view source on GitHub ↗
(fd: i32, mode: u32, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

348
349 #[pyfunction]
350 fn fchmod(fd: i32, mode: u32, vm: &VirtualMachine) -> PyResult<()> {
351 fchmod_impl(fd, mode, vm)
352 }
353
354 #[pyfunction]
355 fn chmod(args: ChmodArgs<'_>, vm: &VirtualMachine) -> PyResult<()> {

Callers

nothing calls this directly

Calls 1

fchmod_implFunction · 0.85

Tested by

no test coverage detected