From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 22:21:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E05FC16A4E8; Thu, 17 Jun 2004 22:21:42 +0000 (GMT) Received: from mailout2.pacific.net.au (mailout2.pacific.net.au [61.8.0.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BF4943D1F; Thu, 17 Jun 2004 22:21:42 +0000 (GMT) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86])i5HMKn5v018744; Fri, 18 Jun 2004 08:20:49 +1000 Received: from gamplex.bde.org (katana.zip.com.au [61.8.7.246]) i5HMKlhp005251; Fri, 18 Jun 2004 08:20:48 +1000 Date: Fri, 18 Jun 2004 08:20:46 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Cyrille Lefevre In-Reply-To: <043601c45473$7dbb36d0$7890a8c0@dyndns.org> Message-ID: <20040618080341.K1407@gamplex.bde.org> References: <043601c45473$7dbb36d0$7890a8c0@dyndns.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: hackers@freebsd.org cc: current@freebsd.org Subject: Re: why timeradd() and co are hidden from the kernel space ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2004 22:21:43 -0000 On Thu, 17 Jun 2004, Cyrille Lefevre wrote: > is there any reasons to hide timeradd() and co in > 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