svn commit: r236042 - head/lib/libc/sys

Konstantin Belousov kib at FreeBSD.org
Sat May 26 05:25:56 UTC 2012


Author: kib
Date: Sat May 26 05:25:55 2012
New Revision: 236042
URL: http://svn.freebsd.org/changeset/base/236042

Log:
  Clarify the SEEK_HOLE description, it repositions the file pointer.
  
  MFC after:  3 days

Modified:
  head/lib/libc/sys/lseek.2

Modified: head/lib/libc/sys/lseek.2
==============================================================================
--- head/lib/libc/sys/lseek.2	Sat May 26 01:55:51 2012	(r236041)
+++ head/lib/libc/sys/lseek.2	Sat May 26 05:25:55 2012	(r236042)
@@ -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-all mailing list