Unix Timestamp in Filepro
ryan at bulldogsoftware.com
ryan at bulldogsoftware.com
Fri Oct 7 09:54:11 PDT 2005
On Fri, Oct 07, 2005 at 12:16:42PM -0400, Fairlight said:
> *nix timestamps only have a one-second granularity. If you're going
> more granular than that, it's not the general *nix timestamp as measured
> by seconds into the epoch. There may be some extended format in some
> software, but it's not the *nix timestamp standard as generated by time(2).
There is a difference between the "standard" *nix timestamp and what a
system is capable of at the kernel level. To be sure I'd look at the
timeval struct (or similar) in time.h. This struct contains the number
of seconds into the epoch and also (typically) a 32-bit word for
nanoseconds. You might not find it on a SCO machine but its been on BSD
for ages.
--
Ryan Powers
Bulldog Software, Inc.
http://www.bulldogsoftware.com
-------------------------------------------------------------------------------
More information about the Filepro-list
mailing list