From owner-freebsd-current Sun Jan 21 7:34: 0 2001 Delivered-To: freebsd-current@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 42D9037B401 for ; Sun, 21 Jan 2001 07:33:43 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA04656; Mon, 22 Jan 2001 02:33:37 +1100 Date: Mon, 22 Jan 2001 02:33:31 +1100 (EST) From: Bruce Evans X-Sender: bde@besplex.bde.org To: Will Andrews Cc: current@FreeBSD.ORG Subject: Re: sys/time.h w/ timespec stuff In-Reply-To: <20010121011326.D3002@puck.firepipe.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 21 Jan 2001, Will Andrews wrote: > The timespec* stuff is hidden behind the _KERNEL aura on FreeBSD, but > not on OpenBSD. This is manifested in OpenBSD's make source, which uses > timespec for a few things. > > So now, maybe someone can answer my question: why is timespec _KERNEL? The timespec macros are unportable and are specialized for the kernel, so they shouldn't be turned into application interfaces. Similarly for the timeval macros, except they shouldn't have been turned into application interfaces (we have them for compatibility with NetBSD/ OpenBSD). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message