| ... | @@ -371,10 +371,10 @@ pub const IO_Uring = struct { | ... | @@ -371,10 +371,10 @@ pub const IO_Uring = struct { |
| 371 | }, | 371 | }, |
| 372 | }; | 372 | }; |
| 373 | | 373 | |
| 374 | /// Queues (but does not submit) an SQE to perform a `read(2)` or `preadv` depending on the buffer type. | 374 | /// Queues (but does not submit) an SQE to perform a `read(2)` or `preadv(2)` depending on the buffer type. |
| 375 | /// * Reading into a `ReadBuffer.buffer` uses `read(2)` | 375 | /// * Reading into a `ReadBuffer.buffer` uses `read(2)` |
| 376 | /// * Reading into a `ReadBuffer.iovecs` uses `preadv(2)` | 376 | /// * Reading into a `ReadBuffer.iovecs` uses `preadv(2)` |
| 377 | /// If you want to do a `preadv2()` then set `rw_flags` on the returned SQE. See https://linux.die.net/man/2/preadv. | 377 | /// If you want to do a `preadv2(2)` then set `rw_flags` on the returned SQE. See https://man7.org/linux/man-pages/man2/preadv2.2.html |
| 378 | /// | 378 | /// |
| 379 | /// Returns a pointer to the SQE. | 379 | /// Returns a pointer to the SQE. |
| 380 | pub fn read( | 380 | pub fn read( |