Not sure where to ask this question because I mostly never program on Linux, so: where do the errno's go when you issue ops on an io_uring? To the naive user (me), it looks like they simple vanish, since cqe.res is documented as being simply "-1 on error". This can't be right?
I asked specifically _because_ it made no sense to do it that way, and I wanted to know if the manual was wrong, which it appears that it is.
-
-
Personally I don't think that it's wrong, but it could be clearer.
-
Well how else are you reading "return values match those documented in the preadv2(2) and pwritev2(2) man pages"? There is literally a section in those man pages called "return value" which _says it returns -1 on error_. How else _can_ you read that?
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.