The type of time_t (was: struct tm -> time_t converter wanted)
Henry Spencer
henry at utzoo.uucp
Sun Oct 23 09:02:15 AEST 1988
In article <9816 at haddock.ima.isc.com> karl at haddock.ima.isc.com (Karl Heuer) writes:
>There's nothing to prevent time_t from being typedef'd to unsigned long int,
>which would double the range...
Unfortunately, it would probably break a significant number of programs that
think time_t is signed. Those programs are arguably broken already, but some
degree of pragmatism is necessary in such matters.
--
The meek can have the Earth; | Henry Spencer at U of Toronto Zoology
the rest of us have other plans.|uunet!attcan!utzoo!henry henry at zoo.toronto.edu
More information about the Comp.std.c
mailing list