We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd9d6b2 commit 8787a4bCopy full SHA for 8787a4b
src/sys/wasi.rs
@@ -182,6 +182,10 @@ pub(crate) fn msghdr_flags(msg: &msghdr) -> RecvFlags {
182
RecvFlags(msg.msg_flags)
183
}
184
185
+pub(crate) fn msghdr_control_len(msg: &msghdr) -> usize {
186
+ msg.msg_controllen as _
187
+}
188
+
189
/// Unix only API.
190
impl SockAddr {
191
/// Constructs a `SockAddr` with the family `AF_UNIX` and the provided path.
0 commit comments