From e4355de161f5fe3a10a8bac2fe9421fcc5c86cc5 Mon Sep 17 00:00:00 2001 From: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com> Date: Sun, 4 Jul 2021 03:36:21 -0600 Subject: [PATCH] `io_uring_register_files_update` returns `number of files updated` vs `0` --- ref-liburing/advanced_usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ref-liburing/advanced_usage.rst b/ref-liburing/advanced_usage.rst index bbd8f50..b196efa 100644 --- a/ref-liburing/advanced_usage.rst +++ b/ref-liburing/advanced_usage.rst @@ -101,7 +101,7 @@ Advanced usage * `files`: array of file descriptors. * `nr_files`: number of file descriptors in the array supplied. - **Return value**: returns 0 on success and ``-errono`` on failure. You can use :man:`strerror(3)` to get a human readable version of the reason for failure. + **Return value**: returns number of files updated on success and ``-errono`` on failure. You can use :man:`strerror(3)` to get a human readable version of the reason for failure. .. seealso::