[COMMITTED] BZ #19086: Fix documented argument order for posix_fallocate64.

Carlos O'Donell carlos@redhat.com
Wed Oct 7 18:10:00 GMT 2015


The argument order for posix_fallocate64 in the manual
was wrong, it was listed as [fd, len, offset] when it
should have been [fd, offset, len].

Verified io/fcntl.h has the right argument order, and it
does. Verified generated PDF.

Checked in.

2015-10-07  Carlos O'Donell  <carlos@redhat.com>

	[BZ #19086]
	* manual/filesys.texi (Storage Allocation): Fix argument order for
	posix_fallocate64.

diff --git a/manual/filesys.texi b/manual/filesys.texi
index 4064885..972e106 100644
--- a/manual/filesys.texi
+++ b/manual/filesys.texi
@@ -3323,7 +3323,7 @@ allocation.  Instead, an @code{EOPNOTSUPP} is returned to the caller.
 
 @end deftypefun
 
-@deftypefun int posix_fallocate64 (int @var{fd}, off64_t @var{length}, off64_t @var{offset})
+@deftypefun int posix_fallocate64 (int @var{fd}, off64_t @var{offset}, off64_t @var{length})
 @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
 
 This function is a variant of @code{posix_fallocate64} which accepts
---



More information about the Libc-alpha mailing list