summaryrefslogtreecommitdiff
path: root/man2/posix_fadvise.2
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-05-18 16:06:42 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-05-18 16:06:42 +0000
commita1d5f77cc8a41c7c0ba751140e31b8b0e71fd091 (patch)
treef55287808a115d93eb00615d65ca49ab9257bcf9 /man2/posix_fadvise.2
parent09a1235aaebbdd25fb974ab31e8bcdcf77e49031 (diff)
Reordered sections to be more consistent, in some cases renaming
sections or shifting paragraphs between sections.
Diffstat (limited to 'man2/posix_fadvise.2')
-rw-r--r--man2/posix_fadvise.223
1 files changed, 12 insertions, 11 deletions
diff --git a/man2/posix_fadvise.2 b/man2/posix_fadvise.2
index 34c6742b3..899500fff 100644
--- a/man2/posix_fadvise.2
+++ b/man2/posix_fadvise.2
@@ -83,11 +83,21 @@ An invalid value was specified for \fIadvice\fP.
.B ESPIPE
The specified file descriptor refers to a pipe or FIFO. (Linux actually
returns EINVAL in this case.)
-.SH NOTES
+.SH VERSIONS
.BR posix_fadvise ()
appeared in kernel 2.5.60.
.\" Actually as fadvise64() -- MTK
-
+.SH "CONFORMING TO"
+POSIX.1-2001.
+Note that the type of the
+.I len
+parameter was changed from
+.I size_t
+to
+.I off_t
+in POSIX.1-2003 TC1.
+.SH NOTES
+VERSIONS
Under Linux, \fBPOSIX_FADV_NORMAL\fP sets the readahead window to the
default size for the backing device; \fBPOSIX_FADV_SEQUENTIAL\fP doubles
this size, and \fBPOSIX_FADV_RANDOM\fP disables file readahead entirely.
@@ -120,15 +130,6 @@ call
or
.BR fdatasync (2)
first.
-.SH "CONFORMING TO"
-POSIX.1-2001.
-Note that the type of the
-.I len
-parameter was changed from
-.I size_t
-to
-.I off_t
-in POSIX.1-2003 TC1.
.SH BUGS
In kernels before 2.6.6, if
.I len