pub unsafe fn statx_cstr(
dirfd: RawFd,
path: &CStr,
flags: StatAtFlags,
mask: StatXMask,
) -> Result<Statx, Errno>
Expand description
Invoke statx
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.