Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2012 05:25:55 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236042 - head/lib/libc/sys
Message-ID:  <201205260525.q4Q5Pt4V054309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205260525.q4Q5Pt4V054309>