We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8d33b78 + 7867aa8 commit 0d0de49Copy full SHA for 0d0de49
library/std/src/sys/unix/fd.rs
@@ -197,11 +197,6 @@ impl FileDesc {
197
}
198
199
200
- #[cfg(target_os = "linux")]
201
- pub fn get_cloexec(&self) -> io::Result<bool> {
202
- unsafe { Ok((cvt(libc::fcntl(self.as_raw_fd(), libc::F_GETFD))? & libc::FD_CLOEXEC) != 0) }
203
- }
204
-
205
#[cfg(not(any(
206
target_env = "newlib",
207
target_os = "solaris",
0 commit comments