| 84 | } |
| 85 | |
| 86 | void |
| 87 | io_uring_write(IOUringContext &ur, int fd, const char *data, size_t len, const std::function<void(int)> &f) |
| 88 | { |
| 89 | io_uring_sqe *s = ur.next_sqe(handle(f)); |
| 90 | |
| 91 | io_uring_prep_write(s, fd, data, len, 0); |
| 92 | } |
| 93 | void |
| 94 | io_uring_read(IOUringContext &ur, int fd, char *data, size_t len, const std::function<void(int)> &f) |
| 95 | { |
no test coverage detected