]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man2/posix_fadvise.2
execve.2, exec.3: Consistently use the term 'pathname' (not 'path')
[thirdparty/man-pages.git] / man2 / posix_fadvise.2
index 705a5b74371ab4b2cd190c0bafc1a2eb763daba8..00adb62d60c56a9c6fe2c6bd91413e9c26951d68 100644 (file)
@@ -26,7 +26,7 @@
 .\" 2005-04-08 mtk, noted kernel version and added BUGS
 .\" 2010-10-09, mtk, document arm_fadvise64_64()
 .\"
-.TH POSIX_FADVISE 2 2017-05-03 "Linux" "Linux Programmer's Manual"
+.TH POSIX_FADVISE 2 2019-03-06 "Linux" "Linux Programmer's Manual"
 .SH NAME
 posix_fadvise \- predeclare an access pattern for file data
 .SH SYNOPSIS
@@ -192,7 +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 ()).
+.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