summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-29 09:13:27 -0700
committerJens Axboe <axboe@kernel.dk>2020-01-29 09:13:27 -0700
commit8d038b23bbf61c8e7a67a91bcee87f96c45aaa0f (patch)
treebf7ecfda891614aa6dc5060de2e1b749493bfcc8
parent94307bcd3dbf725511587bd319a75e3b7578d1a7 (diff)
downloadliburing-8d038b23bbf61c8e7a67a91bcee87f96c45aaa0f.tar.gz
liburing-8d038b23bbf61c8e7a67a91bcee87f96c45aaa0f.tar.bz2
man/io_uring_enter.2: add IORING_OP_{SEND,RECV}
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--man/io_uring_enter.224
1 files changed, 23 insertions, 1 deletions
diff --git a/man/io_uring_enter.2 b/man/io_uring_enter.2
index c4ce586..fa4b476 100644
--- a/man/io_uring_enter.2
+++ b/man/io_uring_enter.2
@@ -224,7 +224,7 @@ system call.
.I fd
must be set to the socket file descriptor,
.I addr
-must contains a pointer to the msghdr structure, and
+must contain a pointer to the msghdr structure, and
.I flags
holds the flags associated with the system call. See also
.BR sendmsg (2).
@@ -237,6 +237,28 @@ Works just like IORING_OP_SENDMSG, except for
instead. See the description of IORING_OP_SENDMSG. Available since 5.3.
.TP
+.B IORING_OP_SEND
+Issue the equivalent of a
+.BR send(2)
+system call.
+.I fd
+must be set to the socket file descriptor,
+.I addr
+must contain a pointer to the buffer,
+.I len
+denotes the length of the buffer to send, and
+.I flags
+holds the flags associated with the system call. See also
+.BR send(2).
+for the general description of the related system call. Available since 5.6.
+
+.TP
+.B IORING_OP_RECV
+Works just like IORING_OP_SEND, except for
+.BR recv(2)
+instead. See the description of IORING_OP_SEND. Available since 5.6.
+
+.TP
.B IORING_OP_TIMEOUT
This command will register a timeout operation. The
.I addr