Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ as_ptr
Method
as_ptr
src/fs/ioctl.rs:85–87 ·
view source on GitHub ↗
(&mut self)
Source
from the content-addressed store, hash-verified
83
}
84
85
fn as_ptr(&mut self) -> *mut c::c_void {
86
self.0.as_raw_fd() as *mut c::c_void
87
}
88
89
unsafe fn output_from_ptr(
90
_: ioctl::IoctlOutput,
Callers
4
new
Method · 0.45
next
Method · 0.45
new
Method · 0.45
next
Method · 0.45
Calls
1
as_raw_fd
Method · 0.45
Tested by
no test coverage detected