Joerg Schilling wrote: >>> int futimens(int fd, const struct timespec times[2]); >>> >>> int utimensat(int fd, const char *path, >>> const struct timespec times[2], int flag); > > In order to allow programs like star to be able to work correctly, we would > also need to have a pathconf()/fpathconf() call to retrieve the _actual_ > resolution of a filesystem.
It looks like there's already a standard for this (perhaps just proposed?): _POSIX_TIMESTAMP_RESOLUTION and _PC_TIMESTAMP_RESOLUTION. See http://www.theopengroup.org/austin/mailarchives/ag/msg10489.html and http://www.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html Hugh.