mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 09:03:12 +00:00
Make a Couple Syscall Comments Consistent (#17066)
* Make a Couple Syscall Comments Consistent * linux.diet.net -> man7.org
This commit is contained in:
parent
bff54536ff
commit
ec5a068ac1
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user