nix::fcntl

Function open

source
pub fn open<P: ?Sized + NixPath>(
    path: &P,
    oflag: OFlag,
    mode: Mode,
) -> Result<RawFd>
Expand description

open or create a file for reading, writing or executing

ยงSee Also

open