posix_fadvise.2: Describe the difference between fadvise64/fadvise64_64

Signed-off-by: Eugene Syromyatnikov <evgsyr@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Eugene Syromyatnikov 2018-09-19 19:12:28 +02:00 committed by Michael Kerrisk
parent 9b9c895c50
commit 6c16f22c3d
1 changed files with 3 additions and 1 deletions

View File

@ -192,7 +192,9 @@ The name of the wrapper function in the C library is
The underlying system call is called
.BR fadvise64 ()
(or, on some architectures,
.BR fadvise64_64 ()).
.BR fadvise64_64 ()); the difference between the two is that former syscall
assumes that the type of the \fIlen\fP argument is \fBsize_t\fP,
while the latter expects \fBloff_t\fP there.
.SS Architecture-specific variants
Some architectures require
64-bit arguments to be aligned in a suitable pair of registers (see