fstatat_cstr

Function fstatat_cstr 

Source
pub unsafe fn fstatat_cstr(
    dirfd: RawFd,
    path: &CStr,
    flags: StatAtFlags,
) -> Result<stat, Errno>
Expand description

Invoke fstatat system call with path as a crate::CStr.

ยงSafety

This functions is inherently unsafe because it just wrap the system call and directory file descriptor (dirfd) cannot be checked.