mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2024-12-04 05:47:55 +00:00
docs: fix link in doc for cmsg_space in sys/socket
Link to cmsg_space macro for recvmmsg and recvmsg should be the doc's root of crate as macro is an exported macro. Signed-off-by: bin liu <liubin0329@gmail.com>
This commit is contained in:
parent
ff08ff7732
commit
84d89e4fc2
@ -1471,7 +1471,7 @@ pub struct RecvMmsgData<'a, I>
|
||||
///
|
||||
/// * `iov`: Scatter-gather list of buffers to receive the message
|
||||
/// * `cmsg_buffer`: Space to receive ancillary data. Should be created by
|
||||
/// [`cmsg_space!`](macro.cmsg_space.html)
|
||||
/// [`cmsg_space!`](../../macro.cmsg_space.html)
|
||||
///
|
||||
/// # Returns
|
||||
/// A `Vec` with multiple `RecvMsg`, one per received message
|
||||
@ -1692,7 +1692,7 @@ fn pack_mhdr_to_send<'a, I, C>(
|
||||
/// * `fd`: Socket file descriptor
|
||||
/// * `iov`: Scatter-gather list of buffers to receive the message
|
||||
/// * `cmsg_buffer`: Space to receive ancillary data. Should be created by
|
||||
/// [`cmsg_space!`](macro.cmsg_space.html)
|
||||
/// [`cmsg_space!`](../../macro.cmsg_space.html)
|
||||
/// * `flags`: Optional flags passed directly to the operating system.
|
||||
///
|
||||
/// # References
|
||||
|
Loading…
Reference in New Issue
Block a user