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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1830BEB64DC for ; Sun, 9 Jul 2023 06:18:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233221AbjGIGSG (ORCPT ); Sun, 9 Jul 2023 02:18:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233226AbjGIGSF (ORCPT ); Sun, 9 Jul 2023 02:18:05 -0400 Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B91631BE for ; Sat, 8 Jul 2023 23:18:04 -0700 (PDT) References: <78b648da-dde7-d331-7384-03214b977e6d@kernel.org> <20230709061011.1885809-1-eggert@cs.ucla.edu> User-agent: mu4e 1.10.4; emacs 29.0.92 From: Sam James To: libc-coord@lists.openwall.com Cc: Alejandro Colomar , "A . Wilcox" , Jonathan Wakely , Rich Felker , linux-man@vger.kernel.org, libc-alpha@sourceware.org, musl@lists.openwall.com, Sam James , Szabolcs Nagy , Jakub Wilk , Paul Eggert Subject: Re: [libc-coord] [PATCH v4] off64_t: prefer off_t for splice, etc. Date: Sun, 09 Jul 2023 07:16:17 +0100 In-reply-to: <20230709061011.1885809-1-eggert@cs.ucla.edu> Message-ID: <87lefpehgo.fsf@gentoo.org> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org Paul Eggert writes: > For the few functions that come only in 64-bit off_t flavors, > document their APIs as using off_t instead of off64_t, > and say also that code should #define _FILE_OFFSET_BITS 64. > This documents what user code is (and should be) doing anyway, > if it needs to work on traditional x86 and ARM Linux. LGTM and thank you Paul. I haven't checked for other prototypes/examples which need changing.