Function nix::dirent::opendir[][src]

pub fn opendir<P: ?Sized + NixPath>(name: &P) -> Result<DirectoryStream>

Opens a directory stream corresponding to the directory name.

The stream is positioned at the first entry in the directory.