[][src]Function linux::syscall::getdents

pub fn getdents(fd: c_int, buf: &mut [d8]) -> c_int

Retrieves entries in a opened directory.

[argument, fd] An open directory file descriptor.

[argument, buf] The buffer in which the entries will be stored.

[return_value] Returns the number of bytes read or an error value.

= See also

  • link:man:getdents(2)