Mail Archives: djgpp/1998/11/13/07:43:36
Simon Vatche Chamlian <simon AT mpbtech DOT qc DOT ca> wrote:
> On another subject, the reason I was trying to tackle this function is because "time_t" is declared as "long"
>in the ANSI C library. Therefore, it's valid up until the year 2037. So I
>would like to c> I was just wondering if anybody did the job already (I'm
>feeling lazy)?
ANSI doesn't say how long is long ;-) so isn't limited to 2037 and in fact
that's the reason because the function returns a time_t and not a long! You
can't fix it right now because most OSs have this limitation, you'll be
forced to wait until your OS becomes 64 bits and recompile.
As we are in the djgpp list and we work with DOS it won't happend, but I
doubt we will still using DOS by 2030.
SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013
- Raw text -