pub unsafe fn path_filestat_set_times(
fd: Fd,
flags: Lookupflags,
path: &str,
atim: Timestamp,
mtim: Timestamp,
fst_flags: Fstflags,
) -> Result<(), Errno>
Expand description
Adjust the timestamps of a file or directory.
Note: This is similar to utimensat
in POSIX.
ยงParameters
flags
- Flags determining the method of how the path is resolved.path
- The path of the file or directory to operate on.atim
- The desired values of the data access timestamp.mtim
- The desired values of the data modification timestamp.fst_flags
- A bitmask indicating which timestamps to adjust.