Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: doug@eng.auburn.edu (Doug Hughes)
Subject: Re: 64-bit Unix
Date: 1997/02/13	[thread overview]
Message-ID: <1997Feb13.091619@netman.eng.auburn.edu> (raw)
In-Reply-To: 5ds3qf$5iv$1@news.cs.tu-berlin.de


In article <5ds3qf$5iv$1@news.cs.tu-berlin.de>, js@cs.tu-berlin.de (Joerg Schilling) writes:
|> In article <werme.855667947@alingo.zk3.dec.com>,
|> Eric Werme <werme@zk3.dec.com> wrote:
|> >js@cs.tu-berlin.de (Joerg Schilling) writes:
|> >
|> >>Is that the reason why linux (at least 2.x) has a broken sys/time.h ??
|> >>All Unixes except Linux define struct timeval to be two long's.
|> >>Linux defines it to be two int's.
|> >
|> >Sorry.  Digital UNIX:
|> >
|> >typedef int            time_t;
|> >
|> >struct timeval {
|> >	time_t	tv_sec;		/* seconds */
|> >	int	tv_usec;	/* microseconds */
|> >		/* the type of the tv_usec field may be replaced by   */
|> >		/* useconds_t in the next rev of XPG4 based on waiver */
|> >};
|> 
|> Then Digital UNIX is the same way wrong as Linux (from  my point of view)
|> 
|> The struct timeval has always been:
|> 
|> struct timeval {
|> 	long	tv_secs;	/* seconds */
|> 	long	tv_usecs;	/* and microseconds */
|> };
|> 
|> If someone changes this, he breaks portablility of applications.
|> 

You added an extra 's' in there (probably unintentionally)
It should be tv_sec and tv_usec (it is on all SunOS versions)



-- 
____________________________________________________________________________
Doug Hughes					Engineering Network Services
System/Net Admin  				Auburn University
			doug@eng.auburn.edu



  parent reply	other threads:[~1997-02-13  5:00 UTC|newest]

Thread overview: 91+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-04  5:00 64-bit Unix Sharon Fisher
1997-02-05  5:00 ` Ian Ameline
1997-02-05  5:00   ` Toon Moene
1997-02-07  5:00     ` Serge Pachkovsky
1997-02-07  5:00       ` Toon Moene
1997-02-08  5:00   ` Ping Huang
1997-02-05  5:00 ` Atif Ahmad Khan
1997-02-05  5:00   ` Stuart R. Fuller
1997-02-06  5:00     ` Ron Natalie
1997-02-06  5:00       ` Kevin Oberman
1997-02-06  5:00         ` Ron Natalie
1997-02-06  5:00           ` Kevin Oberman
1997-02-06  5:00           ` Nhi Vanye
1997-02-08  5:00           ` Endre Witzo
1997-02-06  5:00         ` Guy Harris
1997-02-11  5:00         ` IRIX and XPGR, was " Timothy Watson
1997-02-12  5:00         ` Sinan Karasu
1997-02-06  5:00       ` Toon Moene
1997-02-05  5:00   ` peter hakanson
1997-02-05  5:00   ` Ketil Z Malde
1997-02-05  5:00     ` Curt Smith
1997-02-05  5:00       ` Mark Rafn
1997-02-07  5:00         ` John R MacMillan
1997-02-08  5:00           ` Dave Cherkus
1997-02-09  5:00         ` Christian Kuehnke
1997-02-06  5:00       ` Ben Scott
1997-02-06  5:00       ` Joerg Schilling
1997-02-11  5:00         ` Eric Werme
1997-02-12  5:00           ` Joerg Schilling
1997-02-12  5:00             ` Guy Harris
1997-02-13  5:00             ` Doug Hughes [this message]
1997-02-11  5:00       ` Timothy Watson
1997-02-11  5:00       ` Timothy Watson
1997-02-06  5:00   ` Ketil Z Malde
1997-02-06  5:00     ` Zsolt Ferenczy
1997-02-07  5:00       ` Reto Koradi
1997-02-07  5:00         ` Martin Knoblauch
1997-02-07  5:00           ` Will Morse
1997-02-08  5:00       ` Ping Huang
1997-02-08  5:00       ` Robert Thurlow
1997-02-09  5:00         ` Steve Alexander
1997-02-09  5:00           ` Nils Myklebust
1997-02-09  5:00             ` peter hakanson
1997-02-09  5:00               ` Nils Myklebust
1997-02-10  5:00                 ` Birger Wathne
1997-02-10  5:00                   ` Eric Levenez
1997-02-10  5:00               ` Rob Young
1997-02-19  5:00                 ` David Hull
1997-02-20  5:00                   ` Rob Young
1997-02-20  5:00                     ` Doug Cook
1997-02-20  5:00                       ` Rob Young
1997-02-21  5:00                       ` Anthony Mandic
1997-02-21  5:00                       ` Egor Egorov
1997-02-24  5:00                         ` Joshua Cope
1997-02-26  5:00                           ` Egor Egorov
1997-02-20  5:00                   ` Rob Young
1997-02-20  5:00                     ` R!ch
1997-02-21  5:00                       ` Gabor Kincses
1997-02-28  5:00                       ` bernd rieke
1997-02-28  5:00                         ` Jeff A. Harrell
1997-03-05  5:00                           ` Andrew Elmore
1997-02-21  5:00                     ` Andrew Harrison
1997-02-22  5:00                       ` Rob Young
1997-02-11  5:00             ` Michael R. Eisler
1997-02-06  5:00     ` Mike Jagdis
1997-02-06  5:00     ` Anselm Lingnau
1997-02-11  5:00       ` Eric Werme
1997-02-11  5:00     ` Timothy Watson
1997-02-11  5:00       ` Eric Levenez
1997-02-15  5:00         ` Egor Egorov
1997-02-12  5:00     ` Timothy Watson
1997-02-12  5:00     ` Timothy Watson
1997-02-20  5:00     ` Ketil Z Malde
1997-02-23  5:00     ` Dirk Grunwald
1997-02-23  5:00       ` crudamore
1997-02-24  5:00     ` Boris Gjenero
1997-02-24  5:00       ` Doug Cook
1997-02-24  5:00         ` Mike Iimura
1997-02-25  5:00           ` Doug Cook
1997-02-24  5:00         ` Christopher Dickens
1997-02-24  5:00           ` Alex Yung
1997-02-06  5:00   ` Alair Pereira do Lago
1997-02-07  5:00   ` Endre Witzo
1997-02-07  5:00     ` Guy Harris
1997-02-08  5:00       ` David B.Anderson
1997-02-10  5:00     ` IRIX and XPGR, was " David Cortesi
1997-02-11  5:00       ` Endre Witzo
1997-02-11  5:00       ` Casper H.S. Dik - Network Security Engineer
1997-02-07  5:00   ` Endre Witzo
1997-02-07  5:00   ` Vinh Luu
1997-03-04  5:00 ` Vivek Khindria
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