Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2004 00:41:09 +0200
From:      "Cyrille Lefevre" <clefevre-lists@9online.fr>
To:        "Bruce Evans" <bde@zeta.org.au>
Cc:        current@freebsd.org
Subject:   Re: why timeradd() and co are hidden from the kernel space ?
Message-ID:  <067c01c454bc$2fad2e00$7890a8c0@dyndns.org>
References:  <043601c45473$7dbb36d0$7890a8c0@dyndns.org> <20040618080341.K1407@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"Bruce Evans" <bde@zeta.org.au> wrote:
> 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.


argh, the declarations are just above, not seen... thanks.

Cyrille Lefevre.
-- 
mailto:clefevre-lists@9online.fr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?067c01c454bc$2fad2e00$7890a8c0>