Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pacak committed Jun 29, 2023
1 parent acfbe19 commit c8a5ecf
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/sys/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1497,9 +1497,11 @@ pub fn sendmsg<S>(fd: RawFd, iov: &[IoSlice<'_>], cmsgs: &[ControlMessage],
///
/// # Arguments
///
/// * `fd`: Socket file descriptor
/// * `data`: Struct that implements `IntoIterator` with `SendMmsgData` items
/// * `flags`: Optional flags passed directly to the operating system.
/// * `fd`: Socket file descriptor
/// * `data`: Preallocated headers - they don't hold any data
/// * `slices`: an iterator of slices to send
/// * `cmsgs_iter`: an iterator of control messages
/// * `flags`: Optional flags passed directly to the operating system.
///
/// # Returns
/// `Vec` with numbers of sent bytes on each sent message.
Expand Down

0 comments on commit c8a5ecf

Please sign in to comment.