summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/open.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/open.2')
-rw-r--r--lib/libc/sys/open.27
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 2a91040..7af4dec 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -231,6 +231,13 @@ operation was interrupted by a signal.
or
.Dv O_EXLOCK
is specified but the underlying filesystem does not support locking.
+.It Bq Er EWOULDBLOCK
+.Dv O_NONBLOCK
+and one of
+.Dv O_SHLOCK
+or
+.Dv O_EXLOCK
+is specified and the file is locked.
.It Bq Er ENOSPC
.Dv O_CREAT
is specified,
OpenPOWER on IntegriCloud