posix_fadvise.2: Minor tweaks to Eugene Syromyatnikov's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2018-10-14 16:30:20 +02:00
parent 6c16f22c3d
commit 3631bd72b2
1 changed files with 4 additions and 3 deletions

View File

@ -192,9 +192,10 @@ 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 ()); 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.
.BR fadvise64_64 ());
the difference between the two is that the former system call
assumes that the type of the \fIlen\fP argument is \fIsize_t\fP,
while the latter expects \fIloff_t\fP there.
.SS Architecture-specific variants
Some architectures require
64-bit arguments to be aligned in a suitable pair of registers (see