Function open

fn open<P: ?Sized + NixPath>(path: &P, oflag: OFlag, mode: Mode) -> Result<OwnedFd>

open or create a file for reading, writing or executing

See Also

open