Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2001 02:33:31 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Will Andrews <will@physics.purdue.edu>
Cc:        current@FreeBSD.ORG
Subject:   Re: sys/time.h w/ timespec stuff
Message-ID:  <Pine.BSF.4.21.0101220209590.14399-100000@besplex.bde.org>
In-Reply-To: <20010121011326.D3002@puck.firepipe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101220209590.14399-100000>