From e0ddd0761e1874141f28d3b6839ba87018b6d832 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 23 Jun 2019 15:35:29 -0700 Subject: [PATCH] Document lseek SEEK_DATA/SEEK_HOLE * 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 cdc2b3d7ab..cf0bbb396b 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 argmatch: put all the docs member last. diff --git a/doc/posix-functions/lseek.texi b/doc/posix-functions/lseek.texi index 813bdd9b6b..b4d03f5287 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 the file offset remains unchanged. But on some platforms, attempting to set a negative file offset 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 -- 2.39.5