Add EWOULDBLOCK error for file leases.

This commit is contained in:
Michael Kerrisk 2005-11-17 14:55:31 +00:00
parent 4f62997d55
commit d3952311d4
1 changed files with 7 additions and 0 deletions

View File

@ -449,6 +449,13 @@ requested.
.I pathname
refers to an executable image which is currently being executed and
write access was requested.
.TP
.B EWOULDBLOCK
The
.B O_NONBLOCK
flag was specified, and an incompatible lease was held on the file
(see
.BR fcntl (2)).
.SH NOTE
Under Linux, the O_NONBLOCK flag indicates that one wants to open
but does not necessarily have the intention to read or write.