From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24451C2D0A8 for ; Mon, 28 Sep 2020 13:41:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E238F20759 for ; Mon, 28 Sep 2020 13:41:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726576AbgI1Nl1 (ORCPT ); Mon, 28 Sep 2020 09:41:27 -0400 Received: from foss.arm.com ([217.140.110.172]:51812 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726485AbgI1Nl1 (ORCPT ); Mon, 28 Sep 2020 09:41:27 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EBDF81063; Mon, 28 Sep 2020 06:41:26 -0700 (PDT) Received: from arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4690F3F881; Mon, 28 Sep 2020 06:41:26 -0700 (PDT) Date: Mon, 28 Sep 2020 14:41:23 +0100 From: Dave Martin To: Alejandro Colomar Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: Re: [PATCH 1/2] system_data_types.7: Document size_t Message-ID: <20200928134122.GG6642@arm.com> References: <20200918112755.21428-1-colomar.6.4.3@gmail.com> <20200918112755.21428-2-colomar.6.4.3@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200918112755.21428-2-colomar.6.4.3@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org On Fri, Sep 18, 2020 at 01:27:55PM +0200, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar > --- > man7/system_data_types.7 | 103 +++++++++++++++++++++++++++++++++++++-- > 1 file changed, 99 insertions(+), 4 deletions(-) > > diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 > index 84fea85b9..041e7e243 100644 > --- a/man7/system_data_types.7 > +++ b/man7/system_data_types.7 The distinction might not be worth highlighting here, but types like size_t are a bit special in that they come from the C standards and assumptions about them are really built into the compiler. The system can define its own size_t, but it had better be equivalent to the compiler's definition otherwise bad things will happen... > @@ -92,6 +92,101 @@ See also: > .\".I siginfo_t > .\"type in this page. > .TP > +.I size_t > +.IP > +Include: > +.I > +or Where does this arbitrary-looking list of headers come from? >From the C standards at least, seems to be the canonical header for this type. > +.IR ; > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I [...] Cheers ---Dave