fn modify_descriptor_flags( desc: RawDescriptor, modify_flags: impl FnOnce(c_int) -> c_int, ) -> Result<()>
Apply the specified modification to the file descriptor’s flags.