From owner-freebsd-current@FreeBSD.ORG Wed Jul 21 16:33:18 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 33D2316A4CE for ; Wed, 21 Jul 2004 16:33:18 +0000 (GMT) Received: from pfepa.post.tele.dk (pfepa.post.tele.dk [195.41.46.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id D2B8143D3F for ; Wed, 21 Jul 2004 16:33:17 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (0x50a07c53.naenxx7.adsl-dhcp.tele.dk [80.160.124.83]) by pfepa.post.tele.dk (Postfix) with ESMTP id 71D9047FE77; Wed, 21 Jul 2004 18:33:12 +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 i6LGWxOw084540; Wed, 21 Jul 2004 18:33:05 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Bruce Evans From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 21 Jul 2004 23:37:40 +1000." <20040721232310.Y2587@epsplex.bde.org> Date: Wed, 21 Jul 2004 18:32:59 +0200 Message-ID: <84539.1090427579@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: current@freebsd.org cc: Xin LI 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:33:18 -0000 In message <20040721232310.Y2587@epsplex.bde.org>, Bruce Evans writes: >The timespec struct is POSIX standard. POSIX has the correct number of >functions for operating on timespec structs (none). I am not in agreement mere. 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. -- 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.