10 lines
266 B
Rust
10 lines
266 B
Rust
//! sgtty implementation that won't work on redox because no ioctl
|
|
|
|
use crate::{header::sys_ioctl::*, platform::types::*};
|
|
|
|
#[no_mangle]
|
|
pub extern "C" fn gtty(fd: c_int, out: *mut sgttyb) -> c_int {
|
|
eprintln!("unimplemented: gtty({}, {:p})", fd, out);
|
|
-1
|
|
}
|