summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/open.2
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-04-09 19:10:57 +0000
committerarchie <archie@FreeBSD.org>2000-04-09 19:10:57 +0000
commite0670dffd32bc05db72bd8b648f8f78894809bad (patch)
tree496546bb81f874adf81fe83fbbd84d68bc97ec3b /lib/libc/sys/open.2
parenteb7aa2809f8e9b0ee405c93d1864c8283d0171a2 (diff)
downloadFreeBSD-src-e0670dffd32bc05db72bd8b648f8f78894809bad.zip
FreeBSD-src-e0670dffd32bc05db72bd8b648f8f78894809bad.tar.gz
Document EWOULDBLOCK as a possible errno return value.
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