summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2012-01-28 18:35:10 +0000
committertijl <tijl@FreeBSD.org>2012-01-28 18:35:10 +0000
commit3617a03b5bc99d4d9fb1f9b8cd6d6bc63e468d06 (patch)
tree69c66072cc6989e853efc603659cfb46d6365fd2 /lib
parentb498d306f1e17ce5221db3a701c810f4816d62a3 (diff)
downloadFreeBSD-src-3617a03b5bc99d4d9fb1f9b8cd6d6bc63e468d06.zip
FreeBSD-src-3617a03b5bc99d4d9fb1f9b8cd6d6bc63e468d06.tar.gz
Move descriptions of file caching commands out of the file locking section.
Approved by: kib (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/fcntl.234
1 files changed, 17 insertions, 17 deletions
diff --git a/lib/libc/sys/fcntl.2 b/lib/libc/sys/fcntl.2
index a801b60..4f6c155 100644
--- a/lib/libc/sys/fcntl.2
+++ b/lib/libc/sys/fcntl.2
@@ -28,7 +28,7 @@
.\" @(#)fcntl.2 8.2 (Berkeley) 1/12/94
.\" $FreeBSD$
.\"
-.Dd September 28, 2009
+.Dd January 28, 2012
.Dt FCNTL 2
.Os
.Sh NAME
@@ -143,6 +143,22 @@ process groups are specified by supplying
as negative, otherwise
.Fa arg
is interpreted as a process ID.
+.It Dv F_READAHEAD
+Set or clear the read ahead amount for sequential access to the third
+argument,
+.Fa arg ,
+which is rounded up to the nearest block size.
+A zero value in
+.Fa arg
+turns off read ahead.
+.It Dv F_RDAHEAD
+Equivalent to Darwin counterpart which sets read ahead amount of 128KB
+when the third argument,
+.Fa arg
+is non-zero.
+A zero value in
+.Fa arg
+turns off read ahead.
.El
.Pp
The flags for the
@@ -241,22 +257,6 @@ will be interrupted if the signal handler has not specified the
.Dv SA_RESTART
(see
.Xr sigaction 2 ) .
-.It Dv F_READAHEAD
-Set or clear the read ahead amount for sequential access to the third
-argument,
-.Fa arg ,
-which is rounded up to the nearest block size.
-A zero value in
-.Fa arg
-turns off read ahead.
-.It Dv F_RDAHEAD
-Equivalent to Darwin counterpart which sets read ahead amount of 128KB
-when the third argument,
-.Fa arg
-is non-zero.
-A zero value in
-.Fa arg
-turns off read ahead.
.El
.Pp
When a shared lock has been set on a segment of a file,
OpenPOWER on IntegriCloud