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?
No, I mean the IO ops, not the io_uring calls. Like if you issue a read, and the read fails.
-
-
Oh ya, in that case -cqe.res is the errno, like here's my abort unit test printing -cqe.res: "RunLoop::ReaderInterface error: 107 Transport endpoint is not connected"
-
Awesome! The man pages should probably be fixed, then. But that is very good news.
- 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.