Mail Archives: djgpp/2000/11/14/14:47:04
In article <8ugpiu$65s$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE>, Hans-Bernhard Broeker
<broeker AT physik DOT rwth-aachen DOT de> wrote:
> Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comremovebullcr_p> wrote:
>> How can a DJGPP program convert two different time formats to time_t,
>> using POSIX functions?
>
> It might be a good idea to emulate strptime(), and only compile it in
> if the system you're compiling on doesn't provide strptime(), itself.
>
> AFAIK, DJGPP does not have strptime().
DJGPP does indeed have strftime. However, it does not work exactly
the same as in some Linux flavors. I believe there is some
information on this in some of the tex info documents. It is not
at all clear how the TZ environmental variable interacts with mktime()
and with strftime(). It is not clear on any Unix system either.
--
|----------------------------------|
| Felix Tilley |
| Remove Percent Signs for Email |
| ftilley@%azstarnet.%%%com |
|----------------------------------|
- Raw text -