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