aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bus_close.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-05-17 13:29:35 +0200
committerMattias Andrée <maandree@operamail.com>2015-05-17 13:29:35 +0200
commit31403008097ad8137fc70df22ab41a84e146446a (patch)
treee40e4c3bce6c51ada8ff7c129ad183efc24e81b2 /doc/bus_close.3
parentadd -x option to create command, and -n option to broadcast command (diff)
downloadbus-31403008097ad8137fc70df22ab41a84e146446a.tar.gz
bus-31403008097ad8137fc70df22ab41a84e146446a.tar.bz2
bus-31403008097ad8137fc70df22ab41a84e146446a.tar.xz
specifications for timed functions + fix manpage formatting
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/bus_close.315
1 files changed, 11 insertions, 4 deletions
diff --git a/doc/bus_close.3 b/doc/bus_close.3
index 41e2a97..734f18d 100644
--- a/doc/bus_close.3
+++ b/doc/bus_close.3
@@ -2,12 +2,15 @@
.SH NAME
bus_close - Close a bus
.SH SYNOPSIS
+.LP
+.nf
#include <bus.h>
-
-int bus_close(bus_t *bus);
+.P
+int bus_close(bus_t *\fIbus\fP);
+.fi
.SH DESCRIPTION
The
-.BR bus_close(3)
+.BR bus_close (3)
function disposes of resources allocated to the process, as referenced
in the \fIbus\fP argument.
.SH RETURN VALUES
@@ -18,7 +21,11 @@ function returns -1 and sets \fIerrno\fP to indicate the error.
.B EINVAL
The bus does not exist.
.SH SEE ALSO
-bus-create(1), bus(5), libbus(7), bus_open(3), bus_unlink(3)
+.BR bus-create (1),
+.BR bus (5),
+.BR libbus (7),
+.BR bus_open (3),
+.BR bus_unlink (3)
.SH AUTHORS
Principal author, Mattias Andrée. See the LICENSE file for the full
list of authors.