why timeradd() and co are hidden from the kernel space ?
clefevre-lists at 9online.fr
Thu Jun 17 22:42:07 GMT 2004
"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.
mailto:clefevre-lists at 9online.fr
More information about the freebsd-current