+ return utimensat (parentfd, file, ts, atflag);
+}
+
+/* Set FD's (i.e., FILE's) access time to ATIME.
+ ATFLAG controls symbolic-link following, in the style of openat. */
+int
+set_file_atime (int fd, char const *file, struct timespec atime, int atflag)
+{
+ struct timespec ts[2];
+ ts[0] = atime;
+ ts[1].tv_nsec = UTIME_OMIT;
+ return fd_utimensat (fd, AT_FDCWD, file, ts, atflag);