From owner-freebsd-hackers Sat Apr 27 19:36:36 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id TAA27168 for hackers-outgoing; Sat, 27 Apr 1996 19:36:36 -0700 (PDT) Received: from melb.werple.net.au (melb.werple.net.au [203.9.190.18]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id TAA27127 for ; Sat, 27 Apr 1996 19:36:30 -0700 (PDT) Received: from cimaxp1.UUCP (uucp@localhost) by melb.werple.net.au (8.7.5/8.7.3) with UUCP id LAA04581 for mira!freefall.freebsd.org!freebsd-hackers; Sun, 28 Apr 1996 11:50:43 +1000 (EST) Message-Id: <199604280150.LAA04581@melb.werple.net.au> Received: by cimaxp1.cimlogic.com.au; (5.65/1.1.8.2/10Sep95-0953AM) id AA31484; Sun, 28 Apr 1996 11:50:56 +1000 From: John Birrell Subject: Re: posix timespec vs timeval To: suw2k.hisd.harris.com!jleppek@melb.werple.net.au (James Leppek) Date: Sun, 28 Apr 1996 11:50:56 +1000 (EST) Cc: freefall.freebsd.org!freebsd-hackers@melb.werple.net.au In-Reply-To: <9604272027.AA15610@suw2k.hisd.harris.com> from "James Leppek" at Apr 27, 96 04:27:13 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > 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