Home
last modified time | relevance | path

Searched defs:TtyError (Results 1 – 1 of 1) sorted by relevance

/DragonOS-0.1.8/kernel/src/driver/tty/
Dmod.rs65 pub enum TtyError { enum
105 pub fn input(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in input() argument
122 pub fn output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in output() argument
133 pub fn stdout(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stdout() argument
144 pub fn stderr(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in stderr() argument
155 pub fn read_stdin(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_stdin() argument
199 fn write_stdin(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_stdin() argument
231 fn read_output(&self, buf: &mut [u8], block: bool) -> Result<usize, TtyError> { in read_output() argument
264 fn write_output(&self, buf: &[u8], block: bool) -> Result<usize, TtyError> { in write_output() argument