fcntl.2: ERRORS: add open file description lock error cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-01-19 09:51:17 +01:00
parent 3edddb9e32
commit 7570f8afad
1 changed files with 16 additions and 6 deletions

View File

@ -1521,13 +1521,23 @@ command would cause a deadlock.
is outside your accessible address space.
.TP
.B EINTR
For
.BR F_SETLKW ,
the command was interrupted by a signal; see
.I cmd
is
.BR F_SETLKW
or
.BR F_OFD_SETLKW
and the operation was interrupted by a signal; see
.BR signal (7).
For
.BR F_GETLK " and " F_SETLK ,
the command was interrupted by a signal before the lock was checked or
.TP
.B EINTR
.I cmd
is
.BR F_GETLK ,
.BR F_SETLK ,
.BR F_OFD_GETLK ,
or
.BR F_OFD_SETLK ,
and the operation was interrupted by a signal before the lock was checked or
acquired.
Most likely when locking a remote file (e.g., locking over
NFS), but can sometimes happen locally.