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 fb76c21 commit a777389Copy full SHA for a777389
src/unistd.rs
@@ -1,5 +1,6 @@
1
//! Safe wrappers around functions found in libc "unistd.h" header
2
3
+#[cfg(not(target_os = "redox"))]
4
use cfg_if::cfg_if;
5
use crate::errno::{self, Errno};
6
use crate::{Error, Result, NixPath};
@@ -1110,7 +1111,7 @@ pub fn pipe2(flags: OFlag) -> Result<(RawFd, RawFd)> {
1110
1111
1112
#[cfg(any(target_os = "ios", target_os = "macos"))]
1113
fn pipe2_setflags(fd1: RawFd, fd2: RawFd, flags: OFlag) -> Result<()> {
- use fcntl::FcntlArg::F_SETFL;
1114
+ use crate::fcntl::FcntlArg::F_SETFL;
1115
1116
let mut res = Ok(0);
1117
0 commit comments