pub fn futimens(fd: RawFd, atime: &TimeSpec, mtime: &TimeSpec) -> Result<()>
Expand description
Change the access and modification times of the file specified by a file descriptor.
If you want to set the timestamp to now, use TimeSpec::UTIME_NOW
. Use
TimeSpec::UTIME_OMIT
if you don’t want to change it.