svn commit: r236224 - stable/9/lib/libc/sys

Konstantin Belousov kib at FreeBSD.org
Tue May 29 08:53:25 UTC 2012


Author: kib
Date: Tue May 29 08:53:24 2012
New Revision: 236224
URL: http://svn.freebsd.org/changeset/base/236224

Log:
  MFC r236042:
  Clarify the SEEK_HOLE description, it repositions the file pointer.

Modified:
  stable/9/lib/libc/sys/lseek.2
Directory Properties:
  stable/9/lib/libc/   (props changed)
  stable/9/lib/libc/sys/   (props changed)

Modified: stable/9/lib/libc/sys/lseek.2
==============================================================================
--- stable/9/lib/libc/sys/lseek.2	Tue May 29 08:13:40 2012	(r236223)
+++ stable/9/lib/libc/sys/lseek.2	Tue May 29 08:53:24 2012	(r236224)
@@ -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


More information about the svn-src-stable-9 mailing list