From owner-freebsd-current@FreeBSD.ORG Thu Jun 17 22:42:07 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 8E18116A4CE; Thu, 17 Jun 2004 22:42:07 +0000 (GMT) Received: from hourri.hittite.isp.9tel.net (hourri.hittite.isp.9tel.net [62.62.156.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 504C843D5D; Thu, 17 Jun 2004 22:42:07 +0000 (GMT) (envelope-from clefevre-lists@9online.fr) Received: from pc2k (28-216-118-80.kaptech.net [80.118.216.28]) by hourri.hittite.isp.9tel.net (Postfix) with SMTP id D1B2B1575A1; Fri, 18 Jun 2004 01:26:03 +0200 (CEST) Message-ID: <067c01c454bc$2fad2e00$7890a8c0@dyndns.org> From: "Cyrille Lefevre" To: "Bruce Evans" References: <043601c45473$7dbb36d0$7890a8c0@dyndns.org> <20040618080341.K1407@gamplex.bde.org> Date: Fri, 18 Jun 2004 00:41:09 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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:42:07 -0000 "Bruce Evans" wrote: > 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. argh, the declarations are just above, not seen... thanks. Cyrille Lefevre. -- mailto:clefevre-lists@9online.fr