In message<1299636769.12189.132.camel@localhost>, Paul Sheer writes:

Posix time

Posix time is just a definition of the relationship between days and
logical seconds: i.e. there are 86400 of them in a day and the first day
is 1970-01-01. Posix time is a 32/64-bit (signed) logical second value.
POSIX also allows time_t to be a floating point value:

        time_t and clock_t shall be integer or real-floating types.

Very little, if any, code survives compilation on a system where
time_t is a double.

Technical speaking we also need ISO-C time, which uses a looser
definition than POSIX.


Out of curiosity, does anybody know of a system that chose to implement time_t as a float/double?

Warner

_______________________________________________
LEAPSECS mailing list
[email protected]
http://six.pairlist.net/mailman/listinfo/leapsecs

Reply via email to