Mail Archives: djgpp/1999/11/16/01:10:14
> > Is it 1 second increments? I'm trying to settle an argument with a
> > co-worker, who argued that it is in Microsecond increments.
>
> In priciple, it could be either of those, or any arbitrary other
> thing.m
>
> Well, curiosity will kill you otherwise, probably, so I'll tell you
> nevertheless: DJGPP follows Unix (POSIX) conventions and counts time_t
> as an integer number of seconds since 1970. But *don't* you dare rely
> on that! Next release, we could decide to change to 1e-10 of a month,
> instead, and that only if pure ANSI (non-POSIX) mode, be it just for
> the perverse fun of confusing lots of incorrect programs ;->
>
Yeek! And the scary thing is that the guy I'm having this shouting match
with uses Borland C++5, which might use the Microsecond Time convention!
And If I take this code to a SPARC or a Linux box, It'll yield different
results.
Oy Vey...I need a drink. This portability problem is making me puke.
- Raw text -