In message <[EMAIL PROTECTED]> "J. David Blackstone" <[EMAIL PROTECTED]> wrote: > I always treat the return value of time() as a black-box value. I > can perform specific actions on it, such as feeding it to localtime() > or adding relative time intervals to it, such as a year of seconds. > But I do not allow myself to look at that value. That's good, because the C standard doesn't define what the value returned by time() means anyway: 7.16.2.5 The time function Synopsis [#1] #include <time.h> time_t time(time_t *timer); Description [#2] The time function determines the current calendar time. The encoding of the value is unspecified. So it isn't necessarily true to say that all platforms will return a number of seconds since the unix epoch. Tom -- Tom Hughes ([EMAIL PROTECTED]) http://www.compton.nu/ ...(A)bort, (F)ail, (C)reate a holographic image in plasma memory?
- Re: RFC 99 (v1) Maintain int... Damian Conway
- Re: RFC 99 (v1) Maintain int... Tim Jenness
- Re: RFC 99 (v1) Maintain int... Russ Allbery
- Re: RFC 99 (v1) Maintain int... Chaim Frenkel
- Re: RFC 99 (v1) Maintain interna... skud
- Re: RFC 99 (v1) Maintain internal time in Modifie... Nick Ing-Simmons
- Re: RFC 99 (v1) Maintain internal time in Mod... Tim Jenness
- Re: RFC 99 (v1) Maintain internal time in Modified Jul... Chaim Frenkel
- Re: RFC 99 (v1) Maintain internal time in Modified Jul... J. David Blackstone
- Re: RFC 99 (v1) Maintain internal time in Modified Jul... J. David Blackstone
- Re: RFC 99 (v1) Maintain internal time in Modified Jul... GregLondon
- Re: RFC 99 (v1) Maintain internal time in Modifie... Dan Sugalski
- Re: RFC 99 (v1) Maintain internal time in Modifie... Gisle Aas
- Re: RFC 99 (v1) Maintain internal time in Modifie... Nathan Torkington
- Re: RFC 99 (v1) Maintain internal time in Modified Jul... GregLondon