Date: Fri, 18 Jun 2004 08:20:46 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: Cyrille Lefevre <clefevre-lists@9online.fr> Cc: current@freebsd.org Subject: Re: why timeradd() and co are hidden from the kernel space ? Message-ID: <20040618080341.K1407@gamplex.bde.org> In-Reply-To: <043601c45473$7dbb36d0$7890a8c0@dyndns.org> References: <043601c45473$7dbb36d0$7890a8c0@dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Jun 2004, Cyrille Lefevre wrote: > is there any reasons to hide timeradd() and co in <sys/time.h> > from the kernel space (! _KERNEL) ? Yes. This prevents them being used in the kernel. They are compatibility cruft for NetBSD. In the kernel the corresponding interfaces are spelled timevaladd(), etc. Unfortunately, the timeradd() form of these interfaces escaped to userland via NetBSD. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040618080341.K1407>