pub unsafe fn getdents(fd: int, dirp: *mut void, count: int) -> Result<int>
Expand description
Get directory entries.
Up to count
bytes will be written starting at pointer dirp
. The data
written there will be a series of variable-sized linux_dirent
values,
and the return value is the number of bytes of the buffer that represent
valid entries of that type.