From owner-freebsd-current@FreeBSD.ORG Wed Jul 21 16:47:34 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 A4B9716A4CE for ; Wed, 21 Jul 2004 16:47:34 +0000 (GMT) Received: from pfepc.post.tele.dk (pfepc.post.tele.dk [195.41.46.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A17C43D31 for ; Wed, 21 Jul 2004 16:47:34 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07c53.naenxx7.adsl-dhcp.tele.dk [80.160.124.83]) by pfepc.post.tele.dk (Postfix) with ESMTP id 3ACDF262825; Wed, 21 Jul 2004 18:47:33 +0200 (CEST) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i6LGlVZZ085715; Wed, 21 Jul 2004 18:47:32 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Charles Swiger From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 21 Jul 2004 12:44:47 EDT." <4691F91E-DB35-11D8-BD53-003065ABFD92@mac.com> Date: Wed, 21 Jul 2004 18:47:31 +0200 Message-ID: <85714.1090428451@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org Subject: Re: Any idea why timespec* is _KERNEL stuff only? 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: Wed, 21 Jul 2004 16:47:34 -0000 In message <4691F91E-DB35-11D8-BD53-003065ABFD92@mac.com>, Charles Swiger write s: >> I am not in agreement [h]ere. As much as I hate timespec, we'll have >> to live with it, and rather than have people make their own mistakes >> I'd prefer to expose some functions/macros that do it right. > >Doesn't Paul Vixie's eventlib expose (struct timespec)s anyway, as well >as providing conversion functions to and from (struct timeval)s? Yes, a rather convenient interface btw. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.