summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-19 08:07:32 -0600
committerJens Axboe <axboe@kernel.dk>2021-09-19 08:07:32 -0600
commit8de1e67876468f1ba123af7266ecf3d5ad57995b (patch)
tree8dc2af953b36387813ca7a84a2113b50f009b611
parentd9743fec01714a3ea5352db312564a5b3d6ff36d (diff)
downloadliburing-8de1e67876468f1ba123af7266ecf3d5ad57995b.tar.gz
liburing-8de1e67876468f1ba123af7266ecf3d5ad57995b.tar.bz2
man/io_uring_enter.2: correct IORING_OP_SHUTDOWN description
We do take 2 arguments, both fd and how. Make sure the man page is correct. Fixes: https://github.com/axboe/liburing/issues/437 Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.27
1 files changed, 5 insertions, 2 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index 6b31061..73c4959 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -896,8 +896,11 @@ Issue the equivalent of a
.BR shutdown(2)
system call.
.I fd
-is the file descriptor to the socket being shutdown, no other fields should
-be set. Available since 5.11.
+is the file descriptor to the socket being shutdown, and
+.I len
+must be set to the
+.I how
+argument. No no other fields should be set. Available since 5.11.
.TP
.B IORING_OP_RENAMEAT