aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus_open.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-17 01:33:58 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-17 01:33:58 +0200
commit3461652528f1d8fec5d1a9707469bb23c904c15e (patch)
treea7e925174a2db81f71ae5827a9cc17270fa700ee /doc/bus_open.3
parentadd man3 (diff)
downloadbus-3461652528f1d8fec5d1a9707469bb23c904c15e.tar.gz
bus-3461652528f1d8fec5d1a9707469bb23c904c15e.tar.bz2
bus-3461652528f1d8fec5d1a9707469bb23c904c15e.tar.xz
man3: errors
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/bus_open.3')
-rw-r--r--doc/bus_open.313
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/bus_open.3 b/doc/bus_open.3
index cdd51cf..d193d15 100644
--- a/doc/bus_open.3
+++ b/doc/bus_open.3
@@ -20,6 +20,19 @@ The process will only be using the bus for sending messages.
The process will use the bus for both receiving adn sending messages.
.SH RETURN VALUES
Upon successful completion, the function shall return 0. Otherwise the function shall return -1 and set \fIerrno\fP to indicate the error.
+.SH ERRORS
+.TP
+.IR ENOMEM
+The process cannot allocate more memory.
+.TP
+.IR EACCES
+Operation permission is denied to the calling process.
+.TP
+.IR EINVAL
+The described bus does not exist.
+.SH
+
+The \fIbus_open\fP() function may also fail and set \fIerrno\fP to any of the errors specified for the rutine open(2).
.SH SEE ALSO
bus-create(1), bus(5), libbus(7), bus_open(3), bus_unlink(3)
.SH AUTHORS