summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-10 19:36:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-04-10 19:36:03 +0000
commit90e3da4a9ee5d54554887c2911ca770c3e9529a9 (patch)
treeccc36e88042374bea0333954695e85d1a73d091d /lib/libc
parent013f9b5d417a4cfc4e73e15e03e68c3acc198b16 (diff)
document EWOULDBLOCK; freebsd
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/open.29
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 5031199f8e2..860340e6b63 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.13 1999/06/29 14:10:11 aaron Exp $
+.\" $OpenBSD: open.2,v 1.14 2000/04/10 19:36:02 deraadt Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -203,6 +203,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,