summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-09-07 21:26:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-09-07 21:26:52 +0000
commit0ebef2a75f003b90e78555a88e174bbd2793bbe6 (patch)
tree98548d474f6df92ce53db79f524a5c6de828fe6d /lib/libc/sys
parent33681dd210d7f8d8de0c69fbfaeca5b2946527ae (diff)
Document EBUSY return when attempting to open a cua device that
someone else already has open. OK jmc@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/open.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2
index 3fae4b40631..79cb4c89770 100644
--- a/lib/libc/sys/open.2
+++ b/lib/libc/sys/open.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open.2,v 1.34 2010/09/07 19:07:43 jmc Exp $
+.\" $OpenBSD: open.2,v 1.35 2010/09/07 21:26:51 millert Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -296,6 +296,9 @@ and
were specified and the file exists.
.It Bq Er EOPNOTSUPP
An attempt was made to open a socket (not currently implemented).
+.It Bq Er EBUSY
+An attempt was made to open a terminal device that requires exclusive
+access and the specified device has already be opened.
.El
.Sh SEE ALSO
.Xr chmod 2 ,