This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] BZ #19086: Fix documented argument order for posix_fallocate64.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 7 Oct 2015 14:10:32 -0400
- Subject: [COMMITTED] BZ #19086: Fix documented argument order for posix_fallocate64.
- Authentication-results: sourceware.org; auth=none
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
---