Re: why timeradd() and co are hidden from the kernel space ?

From: Cyrille Lefevre <clefevre-lists_at_9online.fr>
Date: Fri, 18 Jun 2004 00:41:09 +0200
"Bruce Evans" <bde_at_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_at_9online.fr
Received on Thu Jun 17 2004 - 20:42:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:57 UTC