aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libvfio-user.h')
-rw-r--r--include/libvfio-user.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libvfio-user.h b/include/libvfio-user.h
index cd470a9..75de04e 100644
--- a/include/libvfio-user.h
+++ b/include/libvfio-user.h
@@ -148,7 +148,8 @@ vfu_get_poll_fd(vfu_ctx_t *vfu_ctx);
*
* @vfu_ctx: The libvfio-user context to poll
*
- * @returns 0 on success, -1 on error, with errno set as follows:
+ * @returns the number of requests processed (0 or more); or -1 on error,
+ * with errno set as follows:
*
* EAGAIN/EWOULDBLOCK: no more commands to process
* ENOTCONN: client closed connection, vfu_attach_ctx() should be called again