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 4eb6bf9 commit c97cbc5Copy full SHA for c97cbc5
src/unix/mod.rs
@@ -417,6 +417,7 @@ extern {
417
link_name = "pause$UNIX2003")]
418
pub fn pause() -> ::c_int;
419
pub fn pipe(fds: *mut ::c_int) -> ::c_int;
420
+ pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
421
pub fn posix_memalign(memptr: *mut *mut ::c_void,
422
align: ::size_t,
423
size: ::size_t) -> ::c_int;
src/unix/notbsd/mod.rs
@@ -734,7 +734,6 @@ extern {
734
events: *mut epoll_event,
735
maxevents: ::c_int,
736
timeout: ::c_int) -> ::c_int;
737
- pub fn pipe2(fds: *mut ::c_int, flags: ::c_int) -> ::c_int;
738
pub fn mount(src: *const ::c_char,
739
target: *const ::c_char,
740
fstype: *const ::c_char,
0 commit comments