diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-04-16 05:07:17 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-04-16 05:07:17 +0200 |
commit | 26dbb8ea110ff1b911f88c362b4b3c170ffce3e5 (patch) | |
tree | b493d1f7de3d481ebe4126f9f88dd42ab7eb7d03 /src | |
parent | doc (diff) | |
download | bus-26dbb8ea110ff1b911f88c362b4b3c170ffce3e5.tar.gz bus-26dbb8ea110ff1b911f88c362b4b3c170ffce3e5.tar.bz2 bus-26dbb8ea110ff1b911f88c362b4b3c170ffce3e5.tar.xz |
m doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/bus.c | 3 | ||||
-rw-r--r-- | src/bus.h | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -409,6 +409,9 @@ fail: * @param bus Bus information to fill * @param file The filename of the bus * @param flags `BUS_RDONLY`, `BUS_WRONLY` or `BUS_RDWR` + * any negative value is used internally + * for telling the function to not actually + * opening the bus, but just to parse the file * @return 0 on success, -1 on error */ int @@ -113,7 +113,8 @@ int bus_unlink(const char *file); * * @param bus Bus information to fill * @param file The filename of the bus - * @param flags `BUS_RDONLY`, `BUS_WRONLY` or `BUS_RDWR` + * @param flags `BUS_RDONLY`, `BUS_WRONLY` or `BUS_RDWR`, + * the value must not be negative * @return 0 on success, -1 on error */ int bus_open(bus_t *bus, const char *file, int flags); |