Move descriptions of file caching commands out of the file locking section.

Approved by:	kib (mentor)
This commit is contained in:
Tijl Coosemans 2012-01-28 18:35:10 +00:00
parent cc0021eb34
commit 2cb08f8d7d

View File

@ -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,