| author | |
| committer | |
| log | 9fabae2a28d6579de6d13dfc46c75f5df8a67335 |
| tree | 702a4637242321e3997c3034edcd53d7cbdc1678 |
| parent | 0d8c6a960f32627738d61c8168f11fa85b8100b8 |
1 files changed, 4 insertions(+), 1 deletions(-)
lib/std/os/linux/io_uring.zig+4-1| ... | ... | @@ -623,7 +623,10 @@ pub const CompletionQueue = struct { |
| 623 | 623 | |
| 624 | 624 | inline fn check_errno(res: usize) !void { |
| 625 | 625 | const errno = linux.getErrno(res); |
| 626 | if (errno != 0) return os.unexpectedErrno(errno); | |
| 626 | if (errno != 0) { | |
| 627 | if (errno == linux.ENOSYS) return error.UnsupportedKernel; | |
| 628 | return os.unexpectedErrno(errno); | |
| 629 | } | |
| 627 | 630 | } |
| 628 | 631 | |
| 629 | 632 | test "queue_nop" { |