diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-17 01:33:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-17 01:33:58 +0200 |
commit | 3461652528f1d8fec5d1a9707469bb23c904c15e (patch) | |
tree | a7e925174a2db81f71ae5827a9cc17270fa700ee /doc/bus_write.3 | |
parent | add man3 (diff) | |
download | bus-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 '')
-rw-r--r-- | doc/bus_write.3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/bus_write.3 b/doc/bus_write.3 index cc5c8f2..643b3fe 100644 --- a/doc/bus_write.3 +++ b/doc/bus_write.3 @@ -9,6 +9,8 @@ int bus_write(const bus_t *bus, const char *message); 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 ERRORS +The \fIbus_read\fP() function may fail and set \fIerrno\fP to any of the errors specified for the rutine semop(3). .SH SEE ALSO bus-create(1), bus(5), libbus(7), bus_open(3), bus_raed(3) .SH AUTHORS |