summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2010-09-07 21:26:51 +0000
committermillert <millert@openbsd.org>2010-09-07 21:26:51 +0000
commit5204e3b706a52bda10d7ab57dfac3bf78b26da59 (patch)
treecfd3c63cd9601f062fe99db52afed9ec4ab4b215 /lib
parentRemove stray spaces. No code change. (diff)
downloadwireguard-openbsd-5204e3b706a52bda10d7ab57dfac3bf78b26da59.tar.xz
wireguard-openbsd-5204e3b706a52bda10d7ab57dfac3bf78b26da59.zip
Document EBUSY return when attempting to open a cua device that
someone else already has open. OK jmc@
Diffstat (limited to 'lib')
-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 ,