Further improvements to recently changed leases text

This commit is contained in:
Michael Kerrisk 2005-10-13 09:30:54 +00:00
parent 1a6d974a99
commit a7a0588842
1 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@
.\" mtk: Noted F_SETOWN bug for socket file descriptor in Linux 2.4
.\" and earlier. Added text on permissions required to send signal.
.\"
.TH FCNTL 2 2004-12-08 "Linux 2.6.9" "Linux Programmer's Manual"
.TH FCNTL 2 2005-20-13 "Linux 2.6.14" "Linux Programmer's Manual"
.SH NAME
fcntl \- manipulate file descriptor
.SH SYNOPSIS
@ -535,7 +535,7 @@ the file referred to by
.IR fd .
A file lease provides a mechanism whereby the process holding
the lease (the "lease holder") is notified (via delivery of a signal)
when another process (the "lease breaker") tries to
when a process (the "lease breaker") tries to
.BR open (2)
or
.BR truncate (2)
@ -551,7 +551,7 @@ values is specified in the integer
.B F_RDLCK
Take out a read lease.
This will cause the calling process to be notified when
another process opens the file for writing or truncates it.
the file is opened for writing or is truncated.
.\" The following became true in kernel 2.6.10:
.\" See the man-pages-2.09 Changelog for further info.
A read lease can only be placed on a file descriptor that
@ -559,8 +559,8 @@ is opened read-only.
.TP
.B F_WRLCK
Take out a write lease.
This will cause the caller to be notified when another process
opens the file (for reading or writing) or truncates it.
This will cause the caller to be notified when
the file is opened for reading or writing or is truncated.
A write lease may be placed on a file only if no other process
currently has the file open.
.TP
@ -636,7 +636,7 @@ The default signal used to notify the lease holder is SIGIO,
but this can be changed using the
.B F_SETSIG
command to
.B fcntl ().
.BR fcntl ().
If a
.B F_SETSIG
command is performed (even one specifying SIGIO), and the signal