(fd: RawFd)
| 271 | |
| 272 | #[inline] |
| 273 | pub(crate) unsafe fn close(fd: RawFd) { |
| 274 | // See the documentation for [`io::close`] for why errors are ignored. |
| 275 | syscall_readonly!(__NR_close, raw_fd(fd)).decode_void(); |
| 276 | } |
| 277 | |
| 278 | #[cfg(feature = "try_close")] |
| 279 | #[inline] |
nothing calls this directly
no test coverage detected