Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 1996 11:50:56 +1000 (EST)
From:      John Birrell <cimaxp1!jb@melb.werple.net.au>
To:        suw2k.hisd.harris.com!jleppek@melb.werple.net.au (James Leppek)
Cc:        freefall.freebsd.org!freebsd-hackers@melb.werple.net.au
Subject:   Re: posix timespec vs timeval
Message-ID:  <199604280150.LAA04581@melb.werple.net.au>
In-Reply-To: <9604272027.AA15610@suw2k.hisd.harris.com> from "James Leppek" at Apr 27, 96 04:27:13 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> What are the correct member names in struct timespec?

time_t tv_sec
long   tv_nsec

> I just received another update of the MIT posix threads an they
> now use timespec but have the members as tv_sec and tv_nsec.
> In freebsd it is ts_sec and ts_nsec (makes more sense but that doesn't
> mean its right :-) )?

FreeBSD is *WRONG*. I find #ifdef'ing things for FreeBSD really annoying.
At least NetBSD made the change when it was pointed out to them...

> I have got to change something so I was hoping someone
> would know the correct spec.
> 
> Thanks
> Jim Leppek
> 


-- 
John Birrell                                CIMlogic Pty Ltd
jb@cimlogic.com.au                          119 Cecil Street
Ph  +61  3 9690 6900                        South Melbourne Vic 3205
Fax +61  3 9690 6650                        Australia
Mob +61 18  353  137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604280150.LAA04581>