From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11596 invoked from network); 14 Oct 2021 18:03:01 -0000 Received: from tb-ob21.topicbox.com (173.228.157.67) by inbox.vuxu.org with ESMTPUTF8; 14 Oct 2021 18:03:01 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob21.topicbox.com (Postfix) with ESMTP id 3D6F332498 for ; Thu, 14 Oct 2021 14:03:00 -0400 (EDT) (envelope-from bounce.mM25528c1fccfb87e2a5f36584.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 036CE430B42E; Thu, 14 Oct 2021 14:03:00 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=invalid (public key: not available, 0-bit key sha256) header.d=polynum.com header.i=@polynum.com header.b=JeVG8CpI header.a=-sha256 header.s=202006 x-bits=0; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=polynum.com; spf=pass smtp.mailfrom=thierry.laronde@sfr.fr smtp.helo=smtp26.services.sfr.fr; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to:list-help :list-id:list-post:list-subscribe:reply-to:subject :list-unsubscribe; s=sysmsg-1; t=1634234579; bh=R6w6hO0vhzp3Bvst 8gqSCj5hNR2L5ikyVd7V+ECjgjg=; b=T14ZJWeuH2snzHmPvNJ6ub9NA/cZHnl/ 9QHGRsEI6KlNiveBq7+IJUSHU3BRPZMjbA4h4rLUhmV+OjkHmDfI3i2ipM7PpFeo XUhj6hPUN+L4Mequn5Q9OBXADvUXUmPbT1SVovNHO3lb14sbotrnbixjHBHSNaU7 4s4Uf+Pd7js= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1634234579; b=KpVwrTy868DhL5T+uv6ZGHLTDcj3svJj8r2qH7fbwxG6j/K1JQ xD73I1R1Uw99ggQZFLq5E8gK07WUDtwvEHD/LuVxSqgdrO1EbfDaDtvh6lSQtjEi ufkIJBeFMgo7OjlTHNXnyC0EOD3Hvg7c4AZY78Nut0TCWpkGJubzQqn7E= Authentication-Results: topicbox.com; arc=pass; dkim=invalid (public key: not available, 0-bit key sha256) header.d=polynum.com header.i=@polynum.com header.b=JeVG8CpI header.a=-sha256 header.s=202006 x-bits=0; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=polynum.com; spf=pass smtp.mailfrom=thierry.laronde@sfr.fr smtp.helo=smtp26.services.sfr.fr; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=invalid (public key: not available, 0-bit key sha256) header.d=polynum.com header.i=@polynum.com header.b=JeVG8CpI header.a=-sha256 header.s=202006 x-bits=0; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=polynum.com; iprev=pass smtp.remote-ip=93.17.128.213 (smtp26.services.sfr.fr); spf=pass smtp.mailfrom=thierry.laronde@sfr.fr smtp.helo=smtp26.services.sfr.fr; x-aligned-from=fail; x-me-sender=none; x-ptr=pass smtp.helo=smtp26.services.sfr.fr policy.ptr=smtp26.services.sfr.fr; x-return-mx=pass header.domain=polynum.com policy.is_org=yes (MX Records found: fb.mail.gandi.net,spool.mail.gandi.net); x-return-mx=pass smtp.domain=sfr.fr policy.is_org=yes (MX Records found: smtp-in.sfr.fr); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=date:from :to:message-id:references:mime-version:content-type :content-transfer-encoding:in-reply-to:list-help:list-id :list-post:list-subscribe:reply-to:subject:list-unsubscribe; s= dkim-1; bh=q/fsWbqbevFR2DIK1BMPKfdulLorx0oMQkY3UEazHGQ=; b=R1CGW xBkuiqQS9ZMACTEkctw+QTcOj2WpQ/S1vQ6+oG/uBFf34CvUU9RHA4gwXBdeflxh XUPTzQ3MKOV0W3UoSeSXkHYLb+7YbnmTxZAlKjG52BFe/+gGyRWARufQsGqxWBvB IAp/cIdffTGELN9eYF1n0fwy0yIiSDTudV09q8= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 264402430B8 for <9fans@9fans.net>; Thu, 14 Oct 2021 14:02:49 -0400 (EDT) (envelope-from thierry.laronde@sfr.fr) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id 61BA0977D8F; Thu, 14 Oct 2021 14:02:49 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1634234569; b=q1GODwES8qjUa1K/M7vHnQSh3e99KUpYOGRJefmJPRQzjZGTyi FUfSK0miyhREGVsyMED0seeQxm+OAOAZayk6eBI3JXldQD/2mUzKxGTv9fH7FLC9 71eqvhFK0kMCQzMpUS8aNLUxN+gkjkWu+3FlefKCKOrCWSeL8Bx+/1C2e2jfZhxL AAIbnyrSJqkhpjKsAqjL+LSHBkHMxKh9DO/INq3RJSwHiXDJ6y2o7lnv7rX3wXrq 4Zh6YJpVVA/L1whs6EfbGa1V0eeC7PXxukcn8NPZ0sFuASggHujGIVtH/s8FIyHh UVpWhB/d0ulBTizrP3ZK33uFDVFgQH8eLcug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:references :mime-version:content-type:content-transfer-encoding :in-reply-to; s=arcseal; t=1634234569; bh=WZNUm0rirK+fL7eHpFPKjc zzhje2O68hJcTqWcdO8Wc=; b=lHNFpCystlATSzHtxHg2ZNfqxsra9+mxnbC0EV nkDCEtg/Y3Dy/PH2SYuT5wq1oR9Jrf8ku9TmjUzJeg4hkPR5RkJWNXpinO2snkNP 6TGooz7Q0ONkcrYryjFDkqjH2bszDBCibZj4+s2d0ckEnDlG/yQ+R9DmwseKqFz3 30sUY8E7JQS4j1U5g0OH8O0tlrA7DNpkv5XcPloIOjnhezMuhOk9mQYbR20oPWH4 +AQm+EEV/jnjTCOJ9m7NWetzs4squ9Jrzf01QDj3tpuTDKQrVAdXnsiOwfPAJAJp ncYuhLYMFXrv2WbdE1P8s/O7NtHBqfdZt/qGTyRedJsaQ5ew== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=invalid (public key: not available, 0-bit key sha256) header.d=polynum.com header.i=@polynum.com header.b=JeVG8CpI header.a=-sha256 header.s=202006 x-bits=0; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=polynum.com; iprev=pass smtp.remote-ip=93.17.128.213 (smtp26.services.sfr.fr); spf=pass smtp.mailfrom=thierry.laronde@sfr.fr smtp.helo=smtp26.services.sfr.fr; x-aligned-from=fail; x-me-sender=none; x-ptr=pass smtp.helo=smtp26.services.sfr.fr policy.ptr=smtp26.services.sfr.fr; x-return-mx=pass header.domain=polynum.com policy.is_org=yes (MX Records found: fb.mail.gandi.net,spool.mail.gandi.net); x-return-mx=pass smtp.domain=sfr.fr policy.is_org=yes (MX Records found: smtp-in.sfr.fr); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdduvddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fukfhfgggtugfgjgesthekredttddtudenucfhrhhomhepthhlrghrohhnuggvsehpohhl hihnuhhmrdgtohhmnecuggftrfgrthhtvghrnhepffdujeejieejkeffuedvleelfeffff dvgfehveevhffhieehgfeiteffkedtgfejnecuffhomhgrihhnpehkvghrghhishdrtgho mhdpshgsfhgrrdhfrhenucfkphepleefrddujedruddvkedrvddufedpjeejrdduleekrd duvddurdekleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeel fedrudejrdduvdekrddvudefpdhhvghlohepshhmthhpvdeirdhsvghrvhhitggvshdrsh hfrhdrfhhrpdhmrghilhhfrhhomhepoehthhhivghrrhihrdhlrghrohhnuggvsehsfhhr rdhfrheq X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sfr.fr: 93.17.128.213 is authorized to use 'thierry.laronde@sfr.fr' in 'mfrom' identity (mechanism 'ip4:93.17.128.0/24' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="thierry.laronde@sfr.fr"; helo=smtp26.services.sfr.fr; client-ip=93.17.128.213 Received: from smtp26.services.sfr.fr (smtp26.services.sfr.fr [93.17.128.213]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx1.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Thu, 14 Oct 2021 14:02:48 -0400 (EDT) (envelope-from thierry.laronde@sfr.fr) X-mail-filterd: {"version":"1.3.4","queueID":"10CA91C001002","contextId":"7b6c13a6-1cd6-473b-b36c-b77cc1b2af50"} Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2637.sfr.fr (SMTP Server) with ESMTPS id 10CA91C001002 for <9fans@9fans.net>; Thu, 14 Oct 2021 20:02:48 +0200 (CEST) X-mail-filterd: {"version":"1.3.4","queueID":"E9D971C00041D","contextId":"5454b5c7-2c30-4ad5-aa93-a468db782926"} X-sfr-mailing: LEGIT X-sfr-spamrating: 40 X-sfr-spam: not-spam Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) by msfrf2637.sfr.fr (SMTP Server) with ESMTP id E9D971C00041D for <9fans@9fans.net>; Thu, 14 Oct 2021 20:02:47 +0200 (CEST) Received: from cauchy.polynum.local (89.121.198.77.rev.sfr.net [77.198.121.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by msfrf2637.sfr.fr (SMTP Server) with ESMTPS for <9fans@9fans.net>; Thu, 14 Oct 2021 20:02:47 +0200 (CEST) Received: from cauchy.polynum.local (localhost [127.0.0.1]) by cauchy.polynum.local (8.15.2/8.15.2) with ESMTPS id 19EI2kXL003157 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for <9fans@9fans.net>; Thu, 14 Oct 2021 20:02:47 +0200 (CEST) Received: (from tlaronde@localhost) by cauchy.polynum.local (8.15.2/8.14.9/Submit) id 19EI2kFa003159 for 9fans@9fans.net; Thu, 14 Oct 2021 20:02:46 +0200 (CEST) X-Authentication-Warning: cauchy.polynum.local: tlaronde set sender to thierry.laronde@sfr.fr using -f Date: Thu, 14 Oct 2021 20:02:46 +0200 From: tlaronde@polynum.com To: 9fans <9fans@9fans.net> Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: f4141630-2d18-11ec-9152-84164cd2e8e6 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMjMyYjcxNzYzNTJjMDEyYi1NMjU1MjhjMWZjY2ZiODdlMmE1ZjM2?= =?UTF-8?B?NTg0Pg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> Subject: [9fans] Re: APE:sys/time.h: long instead of suseconds_t List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M25528c1fccfb87e2a5f36584:1:7XsvhAAOpqj04GdTR4ISjJ0P2lVKHHhawCB62nVE1Fo Le Thu, Oct 14, 2021 at 07:56:37PM +0200, tlaronde a =C3=A9crit : > As suggested by ori@eigenstate.org, I have used gettimeofday(2) to > achieve what I needed. >=20 > But I had to change suseconds_t (in POSIX) to long (in Plan9 > ape/include/sys/time.h). >=20 > But are all the compilers in Plan9 making long an octabytes, whatever > the arch and the machine? Because a long, if it is a tetra, will never > hold the value... I misread: the microseconds are for the fractional part. I was still focusing on nsec() and taking the one for the other. But the following still holds: >=20 > Furthermore, for portability, there should be a typedef associating > suseconds_t to long (or vlong, if long is not guaranteed to be an > octa). >=20 --=20 Thierry Laronde http://www.kergis.com/ http://kertex.kergis.com/ http://www.sbfa.fr/ Key fingerprint =3D 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T232b7176352c012b-M25528= c1fccfb87e2a5f36584 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription