Files
RedBear-OS/src/header/sgtty/mod.rs
T
2018-08-26 08:11:35 -06:00

19 lines
360 B
Rust

//! sgtty implementation that won't work on redox because no ioctl
use core::fmt::Write;
use platform;
use platform::types::*;
use header::sys_ioctl::*;
#[no_mangle]
pub extern "C" fn gtty(fd: c_int, out: *mut sgttyb) -> c_int {
writeln!(
platform::FileWriter(2),
"unimplemented: gtty({}, {:p})",
fd,
out
);
-1
}