Skip to main content

relibc/header/sgtty/
mod.rs

1//! sgtty implementation that won't work on redox because no ioctl
2
3use crate::{header::sys_ioctl::sgttyb, platform::types::c_int};
4
5#[unsafe(no_mangle)]
6pub extern "C" fn gtty(fd: c_int, out: *mut sgttyb) -> c_int {
7    todo_skip!(0, "gtty({}, {:p})", fd, out);
8    -1
9}