diff options
Diffstat (limited to 'doc/bus_close.3')
-rw-r--r-- | doc/bus_close.3 | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/bus_close.3 b/doc/bus_close.3 new file mode 100644 index 0000000..f971b53 --- /dev/null +++ b/doc/bus_close.3 @@ -0,0 +1,20 @@ +.TH BUS_CLOSE 1 BUS-%VERSION% +.SH NAME +bus_close - Close a bus +.SH SYNOPSIS +#include <bus.h> + +int bus_close(bus_t *bus); +.SH DESCRIPTION +The \fIbus_close\fP function shall dispose of resource require for the process to use a bus whose information is stored in \fIbus\fP. +.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 SEE ALSO +bus-create(1), bus(5), libbus(7), bus_open(3), bus_unlink(3) +.SH AUTHORS +See the LICENSE file for the authors. +.SH LICENSE +See the LICENSE file for the terms of redistribution. +.SH BUGS +Please report them. + |