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

From: Bruce Evans <bde_at_zeta.org.au>
Date: Fri, 18 Jun 2004 08:20:46 +1000 (EST)
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
Received on Thu Jun 17 2004 - 20:21:43 UTC

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