Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1577756pxk; Fri, 2 Oct 2020 13:15:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzivOmLRB2hgzWcI62EfFVj5etDxva5/zrVvU0nW9j7fJso4tePsrNOnsso6RNMid+Hqwjt X-Received: by 2002:a50:cc0c:: with SMTP id m12mr4229619edi.292.1601669732384; Fri, 02 Oct 2020 13:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601669732; cv=none; d=google.com; s=arc-20160816; b=sMLUgEFnBM6Ubn092lEkjOTcV6Rf8m95MPN+8Kc2nW1XEpnKjcGoaLOHdWnr1Lz9qA hl/+BjXAhVxdZ5ob0b2PSBNO5UOgaJOmPyX3LkUAWrYT6+zkxZ2v+WtqSoAMR1Sd8Xli hWwxewQWrHP+gLpWhOiIHz41PVItIlIftWV8JzIYuW5A/W+rnRGfCPkxtmNn61OK4BvS 0UbZ2++Od2KaiKwvYl9yhGxg6btvUwDwzMJN88ib25h3+Wx2f6Nc8l+xlRbXGJT8Mz4X qNkPh+znVo3WQg2J3UKp04DKbeeQW8MhQkkyCJ4rDLYStfwtwV248X2RyQ7j92skCx74 y7Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :autocrypt:from:references:cc:to:subject; bh=eCWUHosmDP4e7p28muIMqI6QfrwR/7Moykgj0+sFxYo=; b=OMSVmex5svq020n3Fmc8GdV4GIfOuiBUPGWHay9IPn6Nj5RtS8e899l63iQKcnhNod qY93iy77nAzqoAFBUtfohwknNF9PUNH1mWhp5J5FckEFXlpbeSLWSGDVMYlkVW+epkfE kYkn61AJqQukqsHBDW7HFAhkHr/8ayAj8A0wNRwG2Qv5EFejvFM2pWbG0JwK050iaO28 2LnnnZXbbrqP7GW6twGEEWBhcddUZSEceoswak+J5wc1t8dHOC665rQbbC14MoenO5hn oudDC6jx1EOIXJRJMHVW742a/I3dH3Jm8LJhW3AZQHRWi/+ycwEw93PsjwysDwV31C4F N12w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e22si1788459edv.198.2020.10.02.13.15.09; Fri, 02 Oct 2020 13:15:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725793AbgJBUOD convert rfc822-to-8bit (ORCPT + 99 others); Fri, 2 Oct 2020 16:14:03 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33610 "EHLO zimbra.cs.ucla.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgJBUOD (ORCPT ); Fri, 2 Oct 2020 16:14:03 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EBB381600D1; Fri, 2 Oct 2020 13:14:02 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id WxOiNx4hrrsE; Fri, 2 Oct 2020 13:14:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 37F851600DA; Fri, 2 Oct 2020 13:14:02 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tseiFp9g3r0C; Fri, 2 Oct 2020 13:14:02 -0700 (PDT) Received: from [192.168.1.9] (cpe-23-243-218-95.socal.res.rr.com [23.243.218.95]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id EFEFC1600D1; Fri, 2 Oct 2020 13:14:01 -0700 (PDT) Subject: Re: [PATCH v4 1/2] system_data_types.7: Add 'void *' To: Alejandro Colomar Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, gcc-patches@gcc.gnu.org, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org, jwakely.gcc@gmail.com, David.Laight@ACULAB.COM References: <20201002121645.23646-1-colomar.6.4.3@gmail.com> <20201002151419.32053-2-colomar.6.4.3@gmail.com> <3941e130-df05-778b-dc76-90cd58400192@cs.ucla.edu> From: Paul Eggert Autocrypt: addr=eggert@cs.ucla.edu; prefer-encrypt=mutual; keydata= mQINBEyAcmQBEADAAyH2xoTu7ppG5D3a8FMZEon74dCvc4+q1XA2J2tBy2pwaTqfhpxxdGA9 Jj50UJ3PD4bSUEgN8tLZ0san47l5XTAFLi2456ciSl5m8sKaHlGdt9XmAAtmXqeZVIYX/UFS 96fDzf4xhEmm/y7LbYEPQdUdxu47xA5KhTYp5bltF3WYDz1Ygd7gx07Auwp7iw7eNvnoDTAl KAl8KYDZzbDNCQGEbpY3efZIvPdeI+FWQN4W+kghy+P6au6PrIIhYraeua7XDdb2LS1en3Ss mE3QjqfRqI/A2ue8JMwsvXe/WK38Ezs6x74iTaqI3AFH6ilAhDqpMnd/msSESNFt76DiO1ZK QMr9amVPknjfPmJISqdhgB1DlEdw34sROf6V8mZw0xfqT6PKE46LcFefzs0kbg4GORf8vjG2 Sf1tk5eU8MBiyN/bZ03bKNjNYMpODDQQwuP84kYLkX2wBxxMAhBxwbDVZudzxDZJ1C2VXujC OJVxq2kljBM9ETYuUGqd75AW2LXrLw6+MuIsHFAYAgRr7+KcwDgBAfwhPBYX34nSS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wI4amqJtrq IL2yqax3a0qlfwCxXftieqJcuekX+eCPDCKrYMXR0FYgwpG2ITZUGtrEjESlE6Dscx734HKd r5ORIocLUUKEOGeiU6DGhGFdb5Twu0Sn+u1mUPDN0M++CdMvClIE8klo4G91EOImu1Upb8xc OPQwxh1jwqSrU5QwoNmSYegQSHLpIUurFz1iQUh1vpPXzKinkWEqv4IqA1ciL+LyySuLkp7M sJpVRMbWJCNWOOSbaH4oDBJ5dHMGc35x5mosCk90PXknuFDDsYHfDo5smf9lo6YXx7N9 Organization: UCLA Computer Science Department Message-ID: Date: Fri, 2 Oct 2020 13:14:01 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/2/20 11:38 AM, Alejandro Colomar wrote: > .I void * > > renders with a space in between. That's odd, as "man(7)" says "All of the arguments will be printed next to each other without intervening spaces". I'd play it safe and quote the arg anyway. > > %p works with any object pointer type (or in POSIX, any pointer type), > > not justĀ  void *. > In theory, no (if otherwise, I'd like to know why): Oh, you're right. I had missed that. In GNU/Linux hosts, though, any pointer (including function pointers) can be given to %p. The only platforms where %p wouldn't work on all pointers would be platforms like IBM i, which has both 64-bit (process local) pointers and 128-bit (tagged space) pointers and where you can declare and use pointers of different widths in the same program.