fcntl.2: Minor wording improvement

Reported-by: Jeff Layton <jlayton@poochiereds.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-30 16:18:18 +02:00
parent 9044058e60
commit d9312ec7c0
1 changed files with 4 additions and 4 deletions

View File

@ -411,11 +411,11 @@ The record locks described above are associated with the process
(unlike the open file description locks described below).
This has some unfortunate consequences:
.IP * 3
If a process holding a lock on a file closes
If a process closes
.I any
file descriptor referring to the file,
then all of the process's locks on the file are released,
no matter which file descriptor they were obtained via.
file descriptor referring to a file,
then all of the process's locks on that file are released,
regardless of the file descriptor(s) on which the locks were obtained.
.\" (Additional file descriptors referring to the same file
.\" may have been obtained by calls to
.\" .BR open "(2), " dup "(2), " dup2 "(2), or " fcntl ().)