From 2a8e5b105c6ec560bf65cae2d94ba3acce7a7915 Mon Sep 17 00:00:00 2001 From: Jeff Moyer Date: Fri, 25 Jan 2019 17:38:50 -0500 Subject: 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 Signed-off-by: Jens Axboe --- man/io_uring_register.2 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'man/io_uring_register.2') 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 -- cgit