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