pub unsafe fn fd_filestat_set_times(
    fd: Fd,
    atim: Timestamp,
    mtim: Timestamp,
    fst_flags: Fstflags
) -> Result<(), Errno>
Expand description

Adjust the timestamps of an open file or directory. Note: This is similar to futimens in POSIX.

Parameters

  • 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.