Commit ec5a068ac1

Jim Calabro <jamesrcalabro@gmail.com>
2023-09-04 09:09:11
Make a Couple Syscall Comments Consistent (#17066)
* Make a Couple Syscall Comments Consistent * linux.diet.net -> man7.org
1 parent bff5453
Changed files (1)
lib
std
os
lib/std/os/linux/io_uring.zig
@@ -371,10 +371,10 @@ pub const IO_Uring = struct {
         },
     };
 
-    /// Queues (but does not submit) an SQE to perform a `read(2)` or `preadv` depending on the buffer type.
+    /// Queues (but does not submit) an SQE to perform a `read(2)` or `preadv(2)` depending on the buffer type.
     /// * Reading into a `ReadBuffer.buffer` uses `read(2)`
     /// * Reading into a `ReadBuffer.iovecs` uses `preadv(2)`
-    ///   If you want to do a `preadv2()` then set `rw_flags` on the returned SQE. See https://linux.die.net/man/2/preadv.
+    ///   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
     ///
     /// Returns a pointer to the SQE.
     pub fn read(