Function yanix::filetime::utimensat[][src]

pub fn utimensat(
    dirfd: &File,
    path: &str,
    atime: FileTime,
    mtime: FileTime,
    symlink_nofollow: bool
) -> Result<()>

Wrapper for utimensat syscall, however, with an added twist such that utimensat symbol is firstly resolved (i.e., we check whether it exists on the host), and only used if that is the case. Otherwise, the syscall resorts to a less accurate utimesat emulated syscall. The original implementation can be found here: filetime::unix::linux::set_times