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 6d817ed commit 9c55d40Copy full SHA for 9c55d40
src/unix/mod.rs
@@ -132,6 +132,8 @@ 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
+ pub fn socketpair(domain: ::c_int, type_: ::c_int, protocol: ::c_int,
136
+ socket_vector: *mut ::c_int) -> ::c_int;
137
#[cfg_attr(all(target_os = "macos", target_arch = "x86"),
138
link_name = "sendto$UNIX2003")]
139
pub fn sendto(socket: ::c_int, buf: *const ::c_void, len: ::size_t,
0 commit comments