Skip to content

Commit

Permalink
Add extra documentation to SendZc
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedek Thaler committed Aug 19, 2024
1 parent 91e080d commit dd50991
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/opcode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1662,6 +1662,12 @@ opcode! {
///
/// A fixed (pre-mapped) buffer can optionally be used from pre-mapped buffers that have been
/// previously registered with [`Submitter::register_buffers`](crate::Submitter::register_buffers).
///
/// This operation might result in two completion queue entries.
/// See the `IORING_OP_SEND_ZC` section at [io_uring_enter][] for the exact semantics.
/// Notifications posted by this operation can be checked with [notif](crate::cqueue::notif).
///
/// [io_uring_enter]: https://man7.org/linux/man-pages/man2/io_uring_enter.2.html
pub struct SendZc {
fd: { impl sealed::UseFixed },
buf: { *const u8 },
Expand Down

0 comments on commit dd50991

Please sign in to comment.