From: hirai@cc.swarthmore.edu (Eiji Hirai)
Subject: Re: problems with time.h under Ultrix 4.x
Date: 14 Jan 92 00:00:23 GMT [thread overview]
Message-ID: <DSQCB242@cc.swarthmore.edu> (raw)
In-Reply-To: 1992Jan10.234037.19422@mtholyoke.edu
jbotz@mtholyoke.edu (Jurgen Botz) writes:
> About half the software I've compiled under Ultrix 4.x has had problems
> with DEC's "time.h".
When I compile source code from the net using gcc 1.40 in Ultrix 4.2, I
usually change the source so that functions returning the number of
seconds since 1970 return time_t instead of int or long.
So like if you have code that looks like
long now;
time(&now);
variable = localtime(&now);
then I change long to time_t.
--
Eiji Hirai <hirai@cc.swarthmore.edu> : : : : : :: ::: :::: :::::
Unix Hacker for Swarthmore College, : : : : : :: ::: :::: :::::
Computing Center, Swarthmore, PA, USA. Copyright 1992 by Eiji Hirai.
I don't speak for Swarthmore College. All Rights Reserved.
next prev parent reply other threads:[~1992-01-14 0:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-01-10 23:40 problems with time.h under Ultrix 4.x Jurgen Botz
1992-01-14 0:00 ` Eiji Hirai [this message]
1992-01-14 8:45 ` Johan Vromans
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox