On Fri, 21 Aug 2009 00:00:53 -0700, Hugh McIntyre wrote:
> 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.

These are not just proposed; tHey were added to the standards at the
same time futimens() and utimensat() were added.

I believe this project is incomplete without also adding support for
these to the fpathconf() and pathconf() functions and the getconf
utility.

 - Don

>
> See http://www.theopengroup.org/austin/mailarchives/ag/msg10489.html and
> http://www.opengroup.org/onlinepubs/9699919799/functions/fpathconf.html
>
> Hugh.



Reply via email to