summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-05-26 05:25:55 +0000
committerkib <kib@FreeBSD.org>2012-05-26 05:25:55 +0000
commit05218621b4f65a2994d3a5d3ce18d7960b1bf380 (patch)
treeb5c3e6e4ef90bf4d0ae07d7cac63b65a69267490
parentcd7b4ede6c1fadb530fea42340e10b3736256124 (diff)
downloadFreeBSD-src-05218621b4f65a2994d3a5d3ce18d7960b1bf380.zip
FreeBSD-src-05218621b4f65a2994d3a5d3ce18d7960b1bf380.tar.gz
Clarify the SEEK_HOLE description, it repositions the file pointer.
MFC after: 3 days
-rw-r--r--lib/libc/sys/lseek.28
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/lseek.2 b/lib/libc/sys/lseek.2
index 874c523..349940a 100644
--- a/lib/libc/sys/lseek.2
+++ b/lib/libc/sys/lseek.2
@@ -28,7 +28,7 @@
.\" @(#)lseek.2 8.3 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd April 5, 2007
+.Dd May 26, 2012
.Dt LSEEK 2
.Os
.Sh NAME
@@ -92,9 +92,9 @@ If
.Fa whence
is
.Dv SEEK_HOLE ,
-the offset of the start of the next hole greater than or equal to the supplied
-.Fa offset
-is returned.
+the offset is set to the start of the next hole greater than or equal
+to the supplied
+.Fa offset .
The definition of a hole is provided below.
.It
If
OpenPOWER on IntegriCloud