Skip to content
Snippets Groups Projects
Commit 7c067307 authored by Jack O'Connor's avatar Jack O'Connor
Browse files

add pipe2 to non-OSX BSD's

parent 4eb6bf9c
No related branches found
No related tags found
No related merge requests found
......@@ -907,6 +907,7 @@ extern {
abstime: *const ::timespec) -> ::c_int;
pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t,
abstime: *const ::timespec) -> ::c_int;
pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
}
cfg_if! {
......
......@@ -535,6 +535,7 @@ extern {
pub fn sethostname(name: *const ::c_char, len: ::size_t) -> ::c_int;
pub fn pthread_mutex_timedlock(lock: *mut pthread_mutex_t,
abstime: *const ::timespec) -> ::c_int;
pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
}
cfg_if! {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment