The type of time_t (was: struct tm -> time_t converter wanted)
Dave Decot
decot at hpisod2.HP.COM
Sat Oct 22 18:05:41 AEST 1988
> There's nothing to prevent time_t from being typedef'd to unsigned long int,
> which would double the range. (Also, it would not surprise me if by 2038
> there were no serious machines with only 32 bits in a long int.)
In fact, the last time I checked, time_t was erquired to be an "arithmetic"
type, not necessarily an integral type. So, you could use double to
implement it, correct?
Dave
More information about the Comp.std.c
mailing list