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.
2 parents 6d817ed + e6c00c2 commit 3bb2fefCopy full SHA for 3bb2fef
src/unix/mod.rs
@@ -132,6 +132,10 @@ extern {
132
pub fn setsockopt(socket: ::c_int, level: ::c_int, name: ::c_int,
133
value: *const ::c_void,
134
option_len: socklen_t) -> ::c_int;
135
+ #[cfg_attr(all(target_os = "macos", target_arch = "x86"),
136
+ link_name = "socketpair$UNIX2003")]
137
+ pub fn socketpair(domain: ::c_int, type_: ::c_int, protocol: ::c_int,
138
+ socket_vector: *mut ::c_int) -> ::c_int;
139
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
140
link_name = "sendto$UNIX2003")]
141
pub fn sendto(socket: ::c_int, buf: *const ::c_void, len: ::size_t,
0 commit comments