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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10547 invoked from network); 15 May 2022 10:58:51 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 15 May 2022 10:58:51 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 5A4472C84F for ; Sun, 15 May 2022 06:58:49 -0400 (EDT) (envelope-from bounce.mM7d5d7a58e7e77b74d2aa123a.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 57C1123F4FC7; Sun, 15 May 2022 06:58:49 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; 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:mime-version :content-type:list-help:list-id:list-post:list-subscribe :reply-to:subject:content-transfer-encoding:list-unsubscribe; s= sysmsg-1; t=1652612329; bh=pCKG07aiB/YxYIruxS/ikTHUlEBb6rk0YgaUS QaulX0=; b=Fv0yCVgTcnf7E6S5hzqdtxwtU4f6vJZtcZPp2iInjLa1GFY0eoXZO uG6m796/jqLYzep47XtwD8TH44kw1IyBBZakhwHv+zFPAvKSOQJwzchWrwNjoAWo Keuqy+p0PxPf/O1yXpLiDBk1svGsBhJR9MZ1tK1vEQy28bvBxPlglg= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1652612329; b=UduDkpDllMxXh061V8XfU8VTH6nUfzEinuyAg3iKT9JYSwv1N/ BoG3O36Lr5zE0W12O+1dXlw8ihiEViMK/F6yLJEBO0LwCi+CB5UZu6i6QX/oAR/K DoO7zILIHbO3qG+5DUgLmhHU3ipIFkakRd+Xt75dl0Lnt9VPKJBPqh4xo= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; 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 Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); 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:mime-version:content-type:list-help:list-id :list-post:list-subscribe:reply-to:subject :content-transfer-encoding:list-unsubscribe; s=dkim-1; bh=9DbUZa IJO2XrakQadG/Kkq2uY+C6YdxwnhujOyHVTAU=; b=YF+ojD/hXHBy5LE8CagsCC 7BLsZlUU2U2BAmdAqVUZSuiu2AT+JcyCMW8gydg2dFqKmjbqTvg/7WEzcNIVdwoK zMma87ZmTQ4RuToJn6GjUMIA/zKiO0e2C7Onp/MPq+aBvswaWMYlc7/ELcoZk5VM wzy8PSbEQwYV4ci1bngUw= Received: from tb-mx1.topicbox.com (localhost.local [127.0.0.1]) by tb-mx1.topicbox.com (Postfix) with ESMTP id 2B16314892F0 for <9fans@9fans.net>; Sun, 15 May 2022 06:58:37 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from tb-mx1.topicbox.com (localhost [127.0.0.1]) by tb-mx1.topicbox.com (Authentication Milter) with ESMTP id A7A6338C66A; Sun, 15 May 2022 06:58:37 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1652612317; b=RDQDlw8ajuZifMx1Iudr8ABz3jk56JgfLrxDFU3snuJ0EpSE1Z /Dk9MmWaCPSFrqq/aKTNgeAvIax21VW6YqJkcB2DtTu1bjhTbCO+b46Bv/34yZjn nytM5Py+LGT7lxFXNAG7RF/+XFE1+P9Mzov38TQaX9vFxFUQqyiEmO4dulOYxsAt gLypMCxYp2kl/dIXhoC0gE4PBnwSWV2z6Min7CaSQTpwoG2aOoj5rMiBU/lLvOUC vzi7G+nT17ZXLqONZrEip6RQCygmvI7mbgnZLa7sQpn+okqiTKDBWN+NcwcK9bgg Nqm3+yYM0gz+MZ/k6qRySSvNwSP3tnCI4rHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=date:from:to:subject:message-id:mime-version :content-type; s=arcseal; t=1652612317; bh=vRrNwc2TSd3+Umny6jWM5 0PrrWb69hmaF5yfAk3ykao=; b=Wgyq1HSHK4clt/PF+MJbBx/hLKGpsUejDHhGA 6PElyO11Dtq/c4wX2FS0mS4lEbHKJxqHSDNyJklLuZ7tOWveoUdJ6MOWZURtLe5C vR7wIQ6XvEkPcf0tKyYdUi1eWNU4+cQbngogyBFSppVI9ldBGZPkMvJX2bdns3As qA7NvMHZumhFbQQ5T8JauKhlZ4Z7ItaOgM62uVqyGXR3MgqVo3bCnYbCSl5rnHvA Gv8yO/oNrFeDUcAAt6hCr4W0zJXXm/gAmFdlVeus/FhSexm9mbQP6QMrvM/uhHiF ONNDDzx5uYSJps0fwl2QeLFkmGKklCvHJpcc9Jn+kLsGVcsYw== ARC-Authentication-Results: i=1; tb-mx1.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=none,d=none,d.eval=none) policy.policy-from=p header.from=sdf.org; iprev=pass smtp.remote-ip=205.166.94.24 (mx.sdf.org); spf=pass smtp.mailfrom=adr@SDF.ORG smtp.helo=mx.sdf.org; x-aligned-from=pass (Address match); x-me-sender=none; x-ptr=pass smtp.helo=mx.sdf.org policy.ptr=mx.sdf.org; x-return-mx=pass header.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); x-return-mx=pass smtp.domain=sdf.org policy.is_org=yes (MX Records found: mx.sdf.org); 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: gggruggvucftvghtrhhoucdtuddrgedvfedrheefgdefgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukf ggtgesthdtredttddtvdenucfhrhhomheprggurhcuoegrughrsefufffhrdfqtffiqeen ucggtffrrghtthgvrhhnpedvtdeileffveetveelleeluefhuedthedvhfejvdefudehue eklefhiefgteevieenucfkphepvddthedrudeiiedrleegrddvgedpvddthedrudeiiedr leegrdduieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtd ehrdduieeirdelgedrvdegpdhhvghlohepmhigrdhsughfrdhorhhgpdhmrghilhhfrhho mhepoegrughrsefufffhrdfqtffiqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (sdf.org: 205.166.94.24 is authorized to use 'adr@SDF.ORG' in 'mfrom' identity (mechanism 'ip4:205.166.94.0/24' matched)) receiver=tb-mx1.topicbox.com; identity=mailfrom; envelope-from="adr@SDF.ORG"; helo=mx.sdf.org; client-ip=205.166.94.24 Received: from mx.sdf.org (mx.sdf.org [205.166.94.24]) (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>; Sun, 15 May 2022 06:58:36 -0400 (EDT) (envelope-from adr@SDF.ORG) Received: from sdf.org (IDENT:adr@sdf.org [205.166.94.16]) by mx.sdf.org (8.15.2/8.14.5) with ESMTPS id 24FAwYKN009648 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits) verified NO) for <9fans@9fans.net>; Sun, 15 May 2022 10:58:35 GMT Received: from localhost (adr@localhost) by sdf.org (8.15.2/8.12.8/Submit) with ESMTP id 24FAwY7w014798 for <9fans@9fans.net>; Sun, 15 May 2022 10:58:34 GMT Date: Sun, 15 May 2022 10:58:34 +0000 (UTC) From: adr To: 9fans@9fans.net Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: fb891bf0-d43d-11ec-99ed-9e4e5711c01d Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZWNhZWEzYjllYzhlNzA2Ni1NN2Q1ZDdhNThlN2U3N2I3NGQyYWEx?= =?UTF-8?B?MjNhPg==?= 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] void* Content-Transfer-Encoding: quoted-printable List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M7d5d7a58e7e77b74d2aa123a:1:I6r9He5qOOCjkM42X1pqtQm5Z8FunzmdT-KetIYHbpc Hi, one of the first thing I noticed compiling in plan9 is that arithmetic on void* is illegal. Other compilers treat void* as uchar*. Conceptually, it makes sense. A pointer to void doesn't point to any object. But then I've seen the use of void* in functions (like memccpy) when the pointed object is going to be processed as a byte array. Local uchar*'s are used to do the trick inside the function. It wouldn't make more sense to avoid the use of void* and just use instead uchar* or better still u8int*? Some thoughts? Regards, adr. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tecaea3b9ec8e7066-M7d5d7= a58e7e77b74d2aa123a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription