The comments on functions suggest that library returns -1 on error[1], but looking through code it seems to return -errno instead[2]. [1] https://github.com/axboe/liburing/blob/0f05173/src/setup.c#L152 [2] https://github.com/axboe/liburing/blob/0f05173/src/setup.c#L142
The comments on functions suggest that library returns -1 on error[1], but looking through code it seems to return -errno instead[2].
[1] https://github.com/axboe/liburing/blob/0f05173/src/setup.c#L152
[2] https://github.com/axboe/liburing/blob/0f05173/src/setup.c#L142