From: Meryem Kazanfer <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: what does struct timeval look like on alpha ?
Date: Sun, 20 Jun 1999 18:07:18 -0400 [thread overview]
Message-ID: <376D6616.F215B731@voicenet.com> (raw)
In-Reply-To: 19990619131628.C8357@twiddle.net
it does in RH 6.0 with glibc2.1. In redhat 5.x, with glibc2.0.7 it doesn't. This
also was reported by someone else. Timeval was defined with 2 longs for
gettimeofday(), but apparently the glib/kern returned 2 ints. I suspect glib, as I
use the same kern for 5.x & 6.0. If i'm not mistaken, u ssaid this was a posix
change.
I will review again my 6.0 installation, since u appear to suggest that timeval
has 2 longs, but i suspect that gettimeofday() will return ints :-/
gat
Richard Henderson wrote:
> On Wed, Jun 16, 1999 at 03:55:46AM -0400, Uncle George wrote:
> > 1) gettimeofday(), which uses timeval, returns 2 ints from the call to the
> > glibc routines.
>
> No it doesn't.
>
> > This is done irrespective of whatever the definition of struct
> > timeval is. If u define timeval as long, u get bogus looking values. But as
> > int, the numbers look more reasonable.
>
> I don't know what you're doing, but it's screwy.
next prev parent reply other threads:[~1999-06-19 22:54 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-15 13:34 what does struct timeval look like on alpha ? Uncle George
1999-06-15 21:50 ` Georg Steffers
1999-06-16 0:27 ` Wes Bauske
1999-06-16 7:55 ` Uncle George
1999-06-19 20:16 ` Richard Henderson
1999-06-20 22:07 ` Meryem Kazanfer [this message]
1999-06-20 0:40 ` Wes Bauske
1999-06-20 3:58 ` Richard Henderson
1999-06-20 22:01 ` Uncle George
1999-06-20 22:28 ` Richard Henderson
1999-06-20 23:27 ` Uncle George
1999-06-22 4:34 ` Richard Henderson
1999-06-22 10:05 ` Uncle George
1999-06-27 4:54 ` Richard Henderson
1999-06-27 8:11 ` Uncle George
1999-06-27 20:18 ` Richard Henderson
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