diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-26 08:58:45 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-26 08:58:45 +0200 |
commit | 05fd0c0ea0694d5b69bf13f12fb3256b72028fcd (patch) | |
tree | a7f66b3348702203429f1673a4466d0844e65973 | |
parent | update dist (diff) | |
download | bus-05fd0c0ea0694d5b69bf13f12fb3256b72028fcd.tar.gz bus-05fd0c0ea0694d5b69bf13f12fb3256b72028fcd.tar.bz2 bus-05fd0c0ea0694d5b69bf13f12fb3256b72028fcd.tar.xz |
fix doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/bus.c | 10 | ||||
-rw-r--r-- | src/bus.h | 10 |
2 files changed, 10 insertions, 10 deletions
@@ -630,11 +630,11 @@ fail: * * 1: continue listening * * -1: an error has occurred * However, the function [`bus_read`] will invoke - * `callback` with `message` one time directly after - * it has started listening on the bus. This is to - * the the program now it can safely continue with - * any action that requires that the programs is - * listening on the port. + * `callback` with `message` set to `NULL`one time + * directly after it has started listening on the + * bus. This is to the the program now it can safely + * continue with any action that requires that the + * programs is listening on the bus. * @return 0 on success, -1 on error */ int @@ -163,11 +163,11 @@ int bus_write(const bus_t *bus, const char *message); * * 1: continue listening * * -1: an error has occurred * However, the function [`bus_read`] will invoke - * `callback` with `message` one time directly after - * it has started listening on the bus. This is to - * the the program now it can safely continue with - * any action that requires that the programs is - * listening on the port. + * `callback` with `message` set to `NULL`one time + * directly after it has started listening on the + * bus. This is to the the program now it can safely + * continue with any action that requires that the + * programs is listening on the bus. * @return 0 on success, -1 on error */ int bus_read(const bus_t *bus, int (*callback)(const char *message, void *user_data), void *user_data); |