aboutsummaryrefslogtreecommitdiffstats
path: root/src/bus.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bus.h b/src/bus.h
index 2428574..4068909 100644
--- a/src/bus.h
+++ b/src/bus.h
@@ -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);