🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5398

Re: The type of time_t (was: struct tm -> time_t converter wanted)

#5398
From: Dave Decot
Date: Sat, 22 Oct 1988 08:05
9 lines
878 bytes
> 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
Technical Details
Message-ID: <11580012@hpisod2.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!bbn!mit-eddie!rutgers!apple!bionet!agate!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot
References: <9816@haddock.ima.isc.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!geac!syntron!jtsv16!uunet!husc6!bbn!mit-eddie!rutgers!apple!bionet!agate!ucbvax!hplabs!hpda!hpcupt1!hpisod2!decot
From: decot@hpisod2.HP.COM (Dave Decot)
Newsgroups: comp.std.c
Subject: Re: The type of time_t (was: struct tm -> time_t converter wanted)
Message-ID: <11580012@hpisod2.HP.COM>
Date: 22 Oct 88 08:05:41 GMT
Article-I.D.: hpisod2.11580012
References: <9816@haddock.ima.isc.com>
Organization: Hewlett Packard, Cupertino
Lines: 9