aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man2/lseek.28
1 files changed, 7 insertions, 1 deletions
diff --git a/man2/lseek.2 b/man2/lseek.2
index 32331aba54..04972c082a 100644
--- a/man2/lseek.2
+++ b/man2/lseek.2
@@ -212,7 +212,13 @@ or
.BR SEEK_HOLE ,
and
.I offset
-is beyond the end of the file.
+is beyond the end of the file, or
+.I whence
+is
+.B SEEK_DATA
+and
+.I offset
+is within a hole at the end of the file.
.TP
.B EOVERFLOW
.\" HP-UX 11 says EINVAL for this case (but POSIX.1 says EOVERFLOW)