summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-02-18 06:09:59 -0700
committerJens Axboe <axboe@kernel.dk>2022-02-18 06:09:59 -0700
commit37856ad78b605a388b7ae598a55544c7c6d3abe5 (patch)
tree046a571e08693ae23c77d8b0eb810605f9464d52
parent20bb37e0f828909742f845b8113b2bb7e1065cd1 (diff)
downloadliburing-37856ad78b605a388b7ae598a55544c7c6d3abe5.tar.gz
liburing-37856ad78b605a388b7ae598a55544c7c6d3abe5.tar.bz2
man/io_uring_get_probe.3: make a note of returning NULL if not supported
5.5 and earlier don't have the register probe opcode, and hence the library function will return NULL in that case. Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_get_probe.36
1 files changed, 5 insertions, 1 deletions
diff --git a/man/io_uring_get_probe.3 b/man/io_uring_get_probe.3
index 1bb8b14..17b34c1 100644
--- a/man/io_uring_get_probe.3
+++ b/man/io_uring_get_probe.3
@@ -18,8 +18,12 @@ The function io_uring_get_probe() returns an allocated io_uring_probe
structure to the caller. The caller is responsible for freeing the
structure with the function io_uring_free_probe().
+.SH NOTES
+Earlier versions of the Linux kernel does not support probe. If the kernel
+doesn't support probe, this function will return NULL.
+
.SH RETURN VALUE
On success it returns an allocated io_uring_probe structure, otherwise
it returns NULL.
.SH SEE ALSO
-.BR io_uring_free_probe (3) \ No newline at end of file
+.BR io_uring_free_probe (3)