On Fri, Jan 30, 2009 at 1:07 AM, horst <[email protected]> wrote:
> Interesting!
> To which extend do standard commands, like stat or tar actually support
> floating point time stamps? (or fractions of a second). I always only seem
> to see integers reported/stored.
/usr/bin/stat appears to print microsecond timestamps. I don't know
about tar. The stat(2) man page doesn't mention it, but
the stat family syscalls return timestamps as struct timespec, which
has NANOSECOND resolution! W00t.
I didn't know that until just now. I had to read /usr/include/bits/stat.h.
--
Bob Miller K<bob>
[email protected]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug