From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by sourceware.org (Postfix) with ESMTPS id 33962388A41E for ; Tue, 27 Oct 2020 16:42:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 33962388A41E Received: by mail-wr1-x443.google.com with SMTP id n15so2693452wrq.2 for ; Tue, 27 Oct 2020 09:42:29 -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=lDnSx6ODKjeV6qkIAQSz+a3TFCNYhJHCIvuFxtCkJp4=; b=gE05Fd63eQz6WzFAkd+bK4VKm1sfkngp55Wi4pbu71qSoDXiUqE75pfVhZtK0xSmSk ARb++DTchS/qNyyx+flXwnqx9HPPYj5FTwE/HAl0Mv72rMmZYmakcD2YTi0b0Vc87cfA DUVDrewmaKNatqjVsayckMEOXIqWeK3HRdip0qYcAoU10LiqaNoDmyE69nIqM5tBvUS6 hk8hRvckEjLowsxoI7pyVt4r4qUTWFgDbZZmbeWPe30838oh50B9rjzsQ6IN5cCkOC4o vzrQrGKkRUvS5Eb3e/6/Ac2KrvX8QNm9fPOmwLAPFrmP7F2Y7JWy9nbFSp6yVSTTo2oI 0aZQ== X-Gm-Message-State: AOAM533M0nr8ByVO+f6xulTBp/2QGdZqWhwBy4IbImpeSs9CV5fzCeAd XnxdfFrqUnyOYYXDHN6ZZHhyUMMmnO8= X-Google-Smtp-Source: ABdhPJzgKW67TbQAyHto/OCgjbv5jJL/+dEbKQzL9BA4WVSf1TAP3kiD6CVJDJ0HFWEdc187abwZ7Q== X-Received: by 2002:a5d:6681:: with SMTP id l1mr3951609wru.356.1603816948088; Tue, 27 Oct 2020 09:42:28 -0700 (PDT) Received: from ?IPv6:2001:a61:245a:d801:2e74:88ad:ef9:5218? ([2001:a61:245a:d801:2e74:88ad:ef9:5218]) by smtp.gmail.com with ESMTPSA id a2sm2591415wrs.55.2020.10.27.09.42.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Oct 2020 09:42:27 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: Re: [PATCH 5/6] system_data_types.7: Add 'off64_t' To: Alejandro Colomar References: <20201027162114.47521-1-colomar.6.4.3@gmail.com> <20201027162114.47521-6-colomar.6.4.3@gmail.com> From: "Michael Kerrisk (man-pages)" Message-ID: <4ccde54d-32a4-a560-39e3-d61e1e613762@gmail.com> Date: Tue, 27 Oct 2020 17:42:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <20201027162114.47521-6-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=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, 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: Tue, 27 Oct 2020 16:42:32 -0000 On 10/27/20 5:21 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar > --- > man7/system_data_types.7 | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) I think we shouldn't document this. See https://www.opengroup.org/platform/lfs.html This type, and the _LARGEFILE64_SOURCE macro date to a time of transition in the 1990s. It's largely irrelevant now, i think. Thanks, Michael > diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 > index 313cf059e..0558060d3 100644 > --- a/man7/system_data_types.7 > +++ b/man7/system_data_types.7 > @@ -751,6 +751,37 @@ and > .I off_t > types in this page. > .RE > +.\"------------------------------------- off64_t ----------------------/ > +.TP > +.I off64_t > +.RS > +.IR Include : > +.IR . > +.PP > +Used for file sizes. > +It is a 64-bit signed integer type. > +.PP > +.IR "Conforming to" : > +Present in glibc. > +It is not standardized by the C language standard nor POSIX. > +.PP > +.IR Notes : > +The feature test macro > +.B _LARGEFILE64_SOURCE > +has to be defined for this type to be available. > +.PP > +.IR "See also" : > +.BR readahead (2), > +.BR sync_file_range (2), > +.BR lseek64 (3), > +.BR feature_test_macros (7) > +.PP > +See also the > +.I loff_t > +and > +.I off_t > +types in this page. > +.RE > .\"------------------------------------- off_t ------------------------/ > .TP > .I off_t > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/