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?
That's actually fine - the return value of the _system_ call is what we want :) The part I quoted said it matches the return values documented in the preadv2(2) and pwritev2(2) man pages, which are the return values of _libc_, which is not the syscall.
-
-
If it just said syscall everywhere there'd be no confusion!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.