Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (12 sloc) 374 Bytes
use std::os::raw::{c_int, c_ulong};
#[cfg(any(target_os = "linux", target_os = "macos"))]
#[macro_use]
mod platform;
#[cfg(any(target_os = "linux", target_os = "macos"))]
pub use platform::*;
extern "C" {
#[doc(hidden)]
pub fn ioctl(fd: c_int, req: c_ulong, ...) -> c_int;
}
#[cfg(not(any(target_os = "linux", target_os = "macos")))]
use platform_not_supported;
You can’t perform that action at this time.