Skip to main content

getdents

Function getdents 

Source
pub fn getdents(fd: usize, buf: &mut [u8]) -> Result<usize, Error>
Expand description

Read directory entries from an open directory fd.

Fills buf with packed kernel dirent entries. Returns the number of bytes written into buf.