authorgravatar for jamesrcalabro@gmail.comJim Calabro <jamesrcalabro@gmail.com> 2023-09-04 03:09:11-04:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2023-09-04 09:09:11+02:00
logec5a068ac133d01477da340fc34cd987a817300d
treeff2db08fcfa80da158a9e89786b64653c9574208
parentbff54536ff2cab302924dc77e298d6dbb4171209
signaturebadge-question-mark Signed by PGP key 4AEE18F83AFDEB23

Make a Couple Syscall Comments Consistent (#17066)

* Make a Couple Syscall Comments Consistent * linux.diet.net -> man7.org

1 files changed, 2 insertions(+), 2 deletions(-)

lib/std/os/linux/io_uring.zig+2-2
...@@ -371,10 +371,10 @@ pub const IO_Uring = struct {...@@ -371,10 +371,10 @@ pub const IO_Uring = struct {
371 },371 },
372 };372 };
373373
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(