(dirfd: BorrowedFd<'_>)
| 87 | |
| 88 | #[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))] |
| 89 | pub(crate) fn fchdir(dirfd: BorrowedFd<'_>) -> io::Result<()> { |
| 90 | unsafe { ret(c::fchdir(borrowed_fd(dirfd))) } |
| 91 | } |
| 92 | |
| 93 | #[cfg(feature = "fs")] |
| 94 | #[cfg(not(any(target_os = "fuchsia", target_os = "wasi")))] |
no test coverage detected