Make a Couple Syscall Comments Consistent (#17066)

* Make a Couple Syscall Comments Consistent

* linux.diet.net -> man7.org
This commit is contained in:
Jim Calabro 2023-09-04 03:09:11 -04:00 committed by GitHub
parent bff54536ff
commit ec5a068ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.buffer` uses `read(2)`
/// * Reading into a `ReadBuffer.iovecs` uses `preadv(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. /// Returns a pointer to the SQE.
pub fn read( pub fn read(