Function
getdents_uninit
(
fd: BorrowedFd<'_>,
dirent: &mut [MaybeUninit<u8>],
)
Source from the content-addressed store, hash-verified
| 1287 | |
| 1288 | #[inline] |
| 1289 | pub(crate) fn getdents_uninit( |
| 1290 | fd: BorrowedFd<'_>, |
| 1291 | dirent: &mut [MaybeUninit<u8>], |
| 1292 | ) -> io::Result<usize> { |
| 1293 | let (dirent_addr_mut, dirent_len) = slice_mut(dirent); |
| 1294 | |
| 1295 | unsafe { ret_usize(syscall!(__NR_getdents64, fd, dirent_addr_mut, dirent_len)) } |
| 1296 | } |
| 1297 | |
| 1298 | #[inline] |
| 1299 | pub(crate) fn utimensat( |
Callers
nothing calls this directly
Tested by
no test coverage detected