From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by sourceware.org (Postfix) with ESMTPS id 795023973036 for ; Fri, 18 Sep 2020 20:14:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 795023973036 Received: by mail-wm1-x342.google.com with SMTP id q9so6429605wmj.2 for ; Fri, 18 Sep 2020 13:14:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yWWmUHFbHlB1wGckFLdk4pWMPDhTI9TJlnQIFh5mYKk=; b=QvTnX7Pyd5KEhIQZpNON7NUeLuckN0TROGsdlgdjno43IX94qKop41l0TJNSXvbQu5 rCteN7M9KEFQFisnZ2woTmgeoAH3/n/cnCramEUJONI+99bHIj1Yt9SRqh2Hl+La0mWW 6dId+1LAMWy5HyY6p0PnagzpVIjpVVc92btFegSISugiQ0zAYP1qMIty5A1hDBc0CoCI 79TaScRtM9+Kvn3oUPDslnmeYNTyxxQGXptkbOCjhA9A9t4Z9B4c9ymvNVGGvD+KlN1k EkVQzYUJ9CSdbmaCb/GPP7XVNvUcMLeMVQfbBzPWftjCg5QDFi95aosZlDoNKqfJ8L5b fG/g== X-Gm-Message-State: AOAM532wAUwP0bxLRqgRraZLwWs+ylZCHwgJKBNI3Lek1+coHyzJFMuc W60si9KhDdsuugEXbi5yPMXcKsE57pg= X-Google-Smtp-Source: ABdhPJy3JLwBVz8oEd+TFTnmqWgJpoykrmyI0EhyU+2gvdKTVP4CInno2xgGhDdYYo+HjoZ1AAN3xA== X-Received: by 2002:a1c:9ecb:: with SMTP id h194mr16827930wme.140.1600460041191; Fri, 18 Sep 2020 13:14:01 -0700 (PDT) Received: from ?IPv6:2001:a61:2479:6801:d8fe:4132:9f23:7e8f? ([2001:a61:2479:6801:d8fe:4132:9f23:7e8f]) by smtp.gmail.com with ESMTPSA id l126sm6646578wmf.39.2020.09.18.13.14.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 18 Sep 2020 13:14:00 -0700 (PDT) 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 To: Alejandro Colomar References: <20200918112755.21428-1-colomar.6.4.3@gmail.com> <20200918112755.21428-2-colomar.6.4.3@gmail.com> From: "Michael Kerrisk (man-pages)" Message-ID: <5622dc89-6ae6-ce38-dc6b-8744d4ce0c25@gmail.com> Date: Fri, 18 Sep 2020 22:13:59 +0200 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: <20200918112755.21428-2-colomar.6.4.3@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2020 20:14:04 -0000 On 9/18/20 1:27 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Merged. Thanks, Michael > --- > 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 > @@ -92,6 +92,101 @@ See also: > .\".I siginfo_t > .\"type in this page. > .TP > +.I size_t > +.IP > +Include: > +.I > +or > +.IR ; > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.I > +or > +.IR . > +.IP > +Used for a count of bytes. It is the result of the > +.I sizeof > +operator. > +According to the C language standard, > +it shall be an unsigned integer type > +capable of storing values in the range [0, > +.BR SIZE_MAX ]. > +.IP > +Conforming to: C99 and later; POSIX.1-2001 and later. > +.IP > +Notes: > +.IR , > +.IR , > +.IR , > +.IR , > +.IR , > +.IR , > +.IR > +and > +.IR > +define > +.I size_t > +since POSIX.1-2008. > +.IP > +See also: > +.BR fread (3), > +.BR fwrite (3), > +.BR memcmp (3), > +.BR memcpy (3), > +.BR memset (3), > +.BR offsetof (3) > +.IP > +See also the > +.I ssize_t > +and > +.I ptrdiff_t > +types in this page. > +.TP > .I ssize_t > .IP > Include: > @@ -127,10 +222,10 @@ See also: > .BR recv (2), > .BR send (2), > .BR write (2) > -.\".IP FIXME: When size_t is added, uncomment > -.\"See also the > -.\".I size_t > -.\"type in this page. > +.IP > +See also the > +.I size_t > +type in this page. > .TP > .I suseconds_t > .IP > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/