man/io_uring_recvmsg_out.3: fixes and improvements
changed io_uring_prep_recv_multishot references to
io_uring_prep_recvmsg_multishot, because only the latter uses such
result layout
added a paragraph explaining what msgh should be
improved formatting
fixed a typo
.\"
.\" SPDX-License-Identifier: LGPL-2.0-or-later
.\"
-.TH io_uring_recvmsg_out 3 "Julyu 26, 2022" "liburing-2.2" "liburing Manual"
+.TH io_uring_recvmsg_out 3 "July 26, 2022" "liburing-2.2" "liburing Manual"
.SH NAME
io_uring_recvmsg_out - access data from multishot recvmsg
.SH SYNOPSIS
@@ -32,12 +32,16 @@ io_uring_recvmsg_out - access data from multishot recvmsg
.SH DESCRIPTION
These functions are used to access data in the payload delivered by
-.BR io_uring_prep_recv_multishot (3)
-.
+.BR io_uring_prep_recvmsg_multishot (3).
+.PP
+.I msgh
+should point to the
+.I struct msghdr
+submitted with the request.
.PP
.BR io_uring_recvmsg_validate (3)
will validate a buffer delivered by
-.BR io_uring_prep_recv_multishot (3)
+.BR io_uring_prep_recvmsg_multishot (3)
and extract the
.I io_uring_recvmsg_out
if it is valid, returning a pointer to it or else NULL.
@@ -75,4 +79,4 @@ Calculates the usable payload length in bytes.
.SH "SEE ALSO"
-.BR io_uring_prep_recv_multishot (3)
+.BR io_uring_prep_recvmsg_multishot (3)
