From 4d7037fc66497560abf736786f1ce4cf14106586 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 17 Apr 2015 00:42:04 +0200 Subject: add man3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/bus_write.3 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/bus_write.3 (limited to 'doc/bus_write.3') diff --git a/doc/bus_write.3 b/doc/bus_write.3 new file mode 100644 index 0000000..cc5c8f2 --- /dev/null +++ b/doc/bus_write.3 @@ -0,0 +1,20 @@ +.TH BUS_CLOSE 1 BUS-%VERSION% +.SH NAME +bus_write - Broadcast a message a bus +.SH SYNOPSIS +#include + +int bus_write(const bus_t *bus, const char *message); +.SH DESCRIPTION +The \fIbus_write\fP function shall broadcast a message on the bus whose information is stored in \fIbus\fP. The message read by the function is stored in the parameter \fImessage\fIP. It may not exceeed 2048 bytes including NUL-termiantion. +.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_raed(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. + -- cgit v1.2.3-70-g09d2