summaryrefslogtreecommitdiff
path: root/man/io_uring_register.2
diff options
context:
space:
mode:
authorJeff Moyer <jmoyer@redhat.com>2019-01-25 17:38:50 -0500
committerJens Axboe <axboe@kernel.dk>2019-01-26 06:40:47 -0700
commit2a8e5b105c6ec560bf65cae2d94ba3acce7a7915 (patch)
tree1dd99cd94e5027fc461ef8b472b5fa690d35b4f3 /man/io_uring_register.2
parent4a700b7e35b47918db17cbe11da9f76e42d90a59 (diff)
downloadliburing-2a8e5b105c6ec560bf65cae2d94ba3acce7a7915.tar.gz
liburing-2a8e5b105c6ec560bf65cae2d94ba3acce7a7915.tar.bz2
man: io_uring_register: use a .TP list for flags
This seems to be the canonical way to do things. Signed-off-by: Jeff Moyer <jmoyer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'man/io_uring_register.2')
-rw-r--r--man/io_uring_register.210
1 files changed, 4 insertions, 6 deletions
diff --git a/man/io_uring_register.2 b/man/io_uring_register.2
index d7d6f9a..3ae3098 100644
--- a/man/io_uring_register.2
+++ b/man/io_uring_register.2
@@ -35,8 +35,8 @@ is the file descriptor returned by a call to
.I opcode
can be one of:
+.TP
.BR IORING_REGISTER_BUFFERS
-
.I arg
points to a
.I struct iovec
@@ -88,16 +88,15 @@ with the new buffers.
An application need not unregister buffers explicitly before shutting
down the io_uring instance.
-
+.TP
.BR IORING_UNREGISTER_BUFFERS
-
This operation takes no argument, and
.I arg
must be passed as NULL. All previously registered buffers associated
with the io_uring instance will be released.
+.TP
.BR IORING_REGISTER_FILES
-
Register files for I/O.
.I arg
contains a pointer to an array of
@@ -118,9 +117,8 @@ is set to the index of the buffer in the array supplied to
Files are automatically unregistered when the io_uring instance is
torn down. An application need only unregister if it wishes to
register a few set of fds.
-
+.TP
.BR IORING_UNREGISTER_FILES
-
This operation requires no argument, and
.I arg
must be passed as NULL. All previously registered files associated