Skip to content

io_uring_prep_recv_multishot - not clear what the parameters are for #1018

Answered by axboe
romange asked this question in Q&A
Discussion options

You must be logged in to vote

For some multishot variants, setting len can be used to limit the receive side. But this actually isn't the case for recv multishot, it'll error if you do that. addr I agree never makes sense. Honestly not sure how they ended up being exposed, they should be NULL/0 always. Doesn't really matter further down as we set/clear them anyway regardless, it's just more of an API wart than anything.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by romange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants