From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.2 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 054FE1F461 for ; Sun, 23 Jun 2019 22:42:13 +0000 (UTC) Received: from localhost ([::1]:47176 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfBBc-0004Vn-Az for normalperson@yhbt.net; Sun, 23 Jun 2019 18:42:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45843) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfBB8-0004Kh-8Q for bug-gnulib@gnu.org; Sun, 23 Jun 2019 18:41:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfBB5-0006d6-W2 for bug-gnulib@gnu.org; Sun, 23 Jun 2019 18:41:42 -0400 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:39086) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hfBB4-0006Pb-UV for bug-gnulib@gnu.org; Sun, 23 Jun 2019 18:41:39 -0400 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id EB7BD161CE0 for ; Sun, 23 Jun 2019 15:41:35 -0700 (PDT) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 43v5DmNE9YBS; Sun, 23 Jun 2019 15:41:34 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 97E97161C84; Sun, 23 Jun 2019 15:41:34 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2lQNKY-OVPbf; Sun, 23 Jun 2019 15:41:34 -0700 (PDT) Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 800E8160964; Sun, 23 Jun 2019 15:41:34 -0700 (PDT) From: Paul Eggert To: bug-gnulib@gnu.org Subject: [PATCH 1/2] Document lseek SEEK_DATA/SEEK_HOLE Date: Sun, 23 Jun 2019 15:41:29 -0700 Message-Id: <20190623224130.15756-1-eggert@cs.ucla.edu> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paul Eggert Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" * doc/posix-functions/lseek.texi (lseek): Document some systems that do not support SEEK_DATA and SEEK_HOLE. --- ChangeLog | 6 ++++++ doc/posix-functions/lseek.texi | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index cdc2b3d7a..cf0bbb396 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2019-06-23 Paul Eggert + + Document lseek SEEK_DATA/SEEK_HOLE + * doc/posix-functions/lseek.texi (lseek): + Document some systems that do not support SEEK_DATA and SEEK_HOLE. + 2019-06-22 Akim Demaille =20 argmatch: put all the docs member last. diff --git a/doc/posix-functions/lseek.texi b/doc/posix-functions/lseek.t= exi index 813bdd9b6..b4d03f528 100644 --- a/doc/posix-functions/lseek.texi +++ b/doc/posix-functions/lseek.texi @@ -31,4 +31,7 @@ When the @code{lseek} function fails, POSIX says that t= he file offset remains unchanged. But on some platforms, attempting to set a negative file off= set fails and sets the file offset to 0: BeOS. +@item +Some systems do not support @code{SEEK_DATA} and @code{SEEK_HOLE}: +AIX, HP-UX, Microsoft Windows, NetBSD, OpenBSD. @end itemize --=20 2.21.0