Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/rustix
/ try_close
Function
try_close
src/io/close.rs:69–71 ·
view source on GitHub ↗
(raw_fd: RawFd)
Source
from the content-addressed store, hash-verified
67
/// not valid after the call, even if it fails.
68
#[cfg(feature =
"try_close"
)]
69
pub unsafe fn try_close(raw_fd: RawFd) -> crate::io::Result<()> {
70
backend::io::syscalls::try_close(raw_fd)
71
}
Callers
1
test_try_close
Function · 0.50
Calls
no outgoing calls
Tested by
1
test_try_close
Function · 0.40