summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-05-03 18:37:45 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2021-05-03 18:37:45 +0200
commitb3d9e2e69163ff17a0023d08daa5ab0f3e1551a0 (patch)
tree1217fd58b035e7f19faed61fee8d800fa53c1a93 /include
parentf8b8bca54f7efc5f1c442d87e57848b3e2e52613 (diff)
Potential missed events fix.
Diffstat (limited to 'include')
-rw-r--r--include/relabsd/device/physical_device.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/relabsd/device/physical_device.h b/include/relabsd/device/physical_device.h
index 9bee391..c6dc81f 100644
--- a/include/relabsd/device/physical_device.h
+++ b/include/relabsd/device/physical_device.h
@@ -23,7 +23,8 @@ void relabsd_physical_device_close
/*
* Returns -1 on (warning) error,
- * 0 on successful read.
+ * 0 if there is nothing to read,
+ * 1 if something was read (and there may be more to read).
*
* The 'input_*' parameters do not need to be initialized, as the function will
* do that for you (on success).