Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp716796rwe; Thu, 25 Aug 2022 08:04:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR6YeIuo/AISxhyWFi+/odQoo0oAqDs//SefDMSec000+mil4Ik2V+qSSpPOGTWD3HsWDWvH X-Received: by 2002:a05:6402:2791:b0:447:3193:6b13 with SMTP id b17-20020a056402279100b0044731936b13mr3672714ede.335.1661439856171; Thu, 25 Aug 2022 08:04:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661439856; cv=none; d=google.com; s=arc-20160816; b=cE7Y80QQhg6XOU+9qHrIRHen+C1Z6QC+n1wt0SEVww86wc1u+r3EfZxUYPEj5F8HOB f4nxxEZFsQfuF6XvzeGuks8wVkf9LyCHIFOVByl7OIqzEtNfKBVjZE7mXnwbkdR8wwxD hGni3LvS8W7JboAalfjoSLLKuracA4WsMxoTNkna3y8xxeJq7iIURdI9GSYf2mdfZGHv zbvhr6TsWUUPc8VsJHDCsyah5hOVw1N03FoqoWd9Cp9p7pWnIAobYAr8olSzhNauTR2Q HE17hytMgUgHyli+k2pny6b89nQczBVEKy50t+52eB+Vb+G/5niXslaeKda9eSVAVCUX JhGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:ironport-sdr; bh=NIt6JOIAHZ7QtRuvJHRAutcTnDdzkdph/roimNiboHU=; b=upb0btjR1Y41YFPnSAt8WO724XYa48ea2opexOVE6a42mJap7J06DEm6uUoYytonze iZJ5n9unJGeAQ59BpxnJR2dEALbz6wXYIakcQrHt/Tenml+bj8VHwWjGtYbGZYLNIWxm Yg3Yl++JxYCWSK5qAsiNsMfSijo0gskgXP25jBrmyruhqZr8cpXqd93dzfId2yPidta5 oY1KJh87TIOfsazct7o0vwEtyQt3KHVRf0ZC5DztsYeEWvHpHlg2wZnI5BTjFdTLMaSL pv8lsiCGwLUsbcSObKlT9iIvwjGOpDDocj8j74mFSVeBfme2d3RL/dMAKT8PB4/1e6aZ 3v0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd17-20020a170907629100b0073d71b3e93dsi1770403ejc.285.2022.08.25.08.03.48; Thu, 25 Aug 2022 08:04:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242093AbiHYOyO (ORCPT + 99 others); Thu, 25 Aug 2022 10:54:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234556AbiHYOyL (ORCPT ); Thu, 25 Aug 2022 10:54:11 -0400 X-Greylist: delayed 481 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 25 Aug 2022 07:54:10 PDT Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B591FB4EB4 for ; Thu, 25 Aug 2022 07:54:10 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.93,263,1654588800"; d="scan'208";a="81807983" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa3.mentor.iphmx.com with ESMTP; 25 Aug 2022 06:38:49 -0800 IronPort-SDR: x1Ixj9xEowfDaxB+rCmYv+GSCPnGqKWu+UVR1/d2bXu884TLkcyorKTAOJ3GIdG2sZcAKPnr8C HrDpsKuUuy/7A3YVdzDaX/MsrZX96NDhq5JOA2b7iEqcFgR8p++itQnfXWYEalx8sudUp7WR3Q um6mcl43b7D6ol4iQIF2NVNDO6kFKAVM4x0sDavVBXMjnIhpFoTzJo4nALK+MjLYUthu9lkmIN xkDupHA97VMp7y+qdLBmrdVJnKzGutKQCtTsZdyiix3T/aUpRWC6kZou1GuriOnoXxFN8q1rQH aYs= Date: Thu, 25 Aug 2022 14:38:40 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Linus Torvalds CC: Florian Weimer , Greg Kroah-Hartman , Alejandro Colomar , Alexei Starovoitov , Alex Colomar , Alexei Starovoitov , linux-man , Daniel Borkmann , Zack Weinberg , LKML , glibc , GCC , bpf , LTP List , Linux API , linux-arch , David Laight , Cyril Hrubis , David Howells , Arnd Bergmann , Rich Felker , Adhemerval Zanella , Michael Kerrisk Subject: Re: [PATCH v3] Many pages: Document fixed-width types with ISO C naming In-Reply-To: Message-ID: References: <20210423230609.13519-1-alx.manpages@gmail.com> <20220824185505.56382-1-alx.manpages@gmail.com> <87ilmgddui.fsf@oldenburg.str.redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-11.mgc.mentorg.com (139.181.222.11) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Aug 2022, Linus Torvalds wrote: > That's a small detail that yes, we've tried to avoid the absolute > humongous mess that the C standard library has with their horrendous > 'PRId*' mess, but honestly, it's just a tiny detail. I've not yet implemented it for glibc or for GCC format checking, but C23 adds 'wN' format length modifiers so you will be able to e.g. use "%w64d" with printf to print an int64_t and won't need those PRI macros any more. -- Joseph S. Myers joseph@codesourcery.com