From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by sourceware.org (Postfix) with ESMTPS id 63108386F42D for ; Wed, 7 Oct 2020 06:53:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 63108386F42D Received: by mail-wm1-x344.google.com with SMTP id 13so1137036wmf.0 for ; Tue, 06 Oct 2020 23:53:56 -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=z3XB1xSaIVxoCVFV+AIEHdeC2vRDuyX8I/AvqLi7N88=; b=SgB2Cxgl8KkG2cj2uzGIdAibDdpAyLXPPUPdh8whZfJN374srgA/RxqdKeVxmZUYEy whgm5eWkHF3JTvTln5zNJleRA9fDKEeOxEJgMOUI8eTwA6OzDGsmQsns7auVWl+NrgKO DpY6Eul7DWjVPDa3NU8wKlzQOO6BWDgg8Esu3JJhth6n521n4a3PMQlHTKeNhtLWpjP4 D/mt5SBf/zTNWPppIH/y/qnE+To0Te80X41xnoJhla15Yt+eL/JmkWLXt32q+WKNDWCf vBrpId54ZcqIs6Zvj3fUUUY4OMek+2qpwk6uh45hoe7R12z+ipOxDrs8WZrZTGCfe8ss HdZQ== X-Gm-Message-State: AOAM533EU+yQwzQLlpvUPg04LnKMfaqEVDCxvT9XVsgQgsmiGikucYXg TGPiybTuiN56EqDW9NbBEf1wt/2Q3Mx5vg== X-Google-Smtp-Source: ABdhPJwJq72/bBf9D8rLb782aBEYIY6MXK33Uf83vsHI80STDbhIjSQlKpejF4CPAgNDDbnhf1znew== X-Received: by 2002:a7b:c0d8:: with SMTP id s24mr1571629wmh.156.1602053635461; Tue, 06 Oct 2020 23:53:55 -0700 (PDT) Received: from [192.168.43.156] (dynamic-046-114-000-081.46.114.pool.telefonica.de. [46.114.0.81]) by smtp.gmail.com with ESMTPSA id o6sm1447830wrm.69.2020.10.06.23.53.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 06 Oct 2020 23:53:54 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] system_data_types.7: Add 'off_t' To: Alejandro Colomar References: <20201005221247.13065-1-colomar.6.4.3@gmail.com> From: "Michael Kerrisk (man-pages)" Message-ID: Date: Wed, 7 Oct 2020 08:53:52 +0200 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: <20201005221247.13065-1-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=-7.5 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_ABUSEAT, 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: Wed, 07 Oct 2020 06:53:57 -0000 On 10/6/20 12:12 AM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar Hi Alex, Thanks, patch applied. And I trimmed the "See also" a little. I'd hold off on documenting loff_t and off64_t for the moment. As you note in another mail, the *lseek* man page situation is a bit of a mess. I'm not yet sure what to do. Thanks, Michael > --- > man7/system_data_types.7 | 50 ++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 50 insertions(+) > > diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 > index b8cbc8ffe..916efef08 100644 > --- a/man7/system_data_types.7 > +++ b/man7/system_data_types.7 > @@ -629,6 +629,56 @@ C99 and later; POSIX.1-2001 and later. > See also: > .BR lldiv (3) > .RE > +.\"------------------------------------- off_t ------------------------/ > +.TP > +.I off_t > +.RS > +Include: > +.IR . > +Alternatively, > +.IR , > +.IR , > +.IR , > +.IR , > +.IR , > +or > +.IR . > +.PP > +Used for file sizes. > +According to POSIX, > +this shall be a signed integer type. > +.PP > +Versions: > +.I > +and > +.I > +define > +.I off_t > +since POSIX.1-2008. > +.PP > +Conforming to: > +POSIX.1-2001 and later. > +.PP > +See also: > +.BR fallocate (2), > +.BR lseek (2), > +.BR mmap (2), > +.BR mmap2 (2), > +.BR posix_fadvise (2), > +.BR pread (2), > +.BR preadv (2), > +.BR truncate (2), > +.BR fseeko (3), > +.BR getdirentries (3), > +.BR lockf (3), > +.BR posix_fallocate (3) > +.\".PP TODO: loff_t, off64_t > +.\"See also the > +.\".I loff_t > +.\"and > +.\".I off64_t > +.\"types in this page. > +.RE > .\"------------------------------------- pid_t ------------------------/ > .TP > .I pid_t > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/