diff options
Diffstat (limited to '')
-rw-r--r-- | src/bus.c | 13 |
1 files changed, 6 insertions, 7 deletions
@@ -978,11 +978,8 @@ done: * misbehave, is `bus_poll` is written to expect * this function to have been called. * - * @param bus Bus information - * @param flags `BUS_NOWAIT` if the bus should fail and set `errno` to - * `EAGAIN` if there isn't already a message available on - * the bus when `bus_poll` is called - * @return 0 on success, -1 on error + * @param bus Bus information + * @return 0 on success, -1 on error */ int bus_poll_start(bus_t *bus) @@ -1020,8 +1017,10 @@ bus_poll_stop(const bus_t *bus) * started, the caller of this function should then * either call `bus_poll` again or `bus_poll_stop`. * - * @param bus Bus information - * @return The received message, `NULL` on error + * @param bus Bus information + * @param flags `BUS_NOWAIT` if the bus should fail and set `errno` to + * `EAGAIN` if there isn't already a message available on the bus + * @return The received message, `NULL` on error */ const char * bus_poll(bus_t *bus, int flags) |