Home
last modified time | relevance | path

Searched refs:term (Results 1 – 4 of 4) sorted by relevance

/DragonOS/user/apps/test_pty/
H A Dtest_pty.c12 struct termios term; in main() local
21 tcgetattr(pts, &term); in main()
22 term.c_lflag &= ~(ICANON | ECHO); in main()
23 term.c_cc[VMIN] = 1; in main()
24 term.c_cc[VTIME] = 0; in main()
25 tcsetattr(pts, TCSANOW, &term); in main()
/DragonOS/kernel/src/driver/tty/pty/
H A Dmod.rs259 let term = ptm_driver.init_termios_mut(); in pty_init() localVariable
260 term.input_mode = InputMode::empty(); in pty_init()
261 term.output_mode = OutputMode::empty(); in pty_init()
262 term.control_mode = ControlMode::B38400 | ControlMode::CS8 | ControlMode::CREAD; in pty_init()
263 term.local_mode = LocalMode::empty(); in pty_init()
264 term.input_speed = 38400; in pty_init()
265 term.output_speed = 38400; in pty_init()
280 let term = pts_driver.init_termios_mut(); in pty_init() localVariable
281 term.input_mode = InputMode::empty(); in pty_init()
282 term.output_mode = OutputMode::empty(); in pty_init()
[all …]
/DragonOS/kernel/src/driver/tty/
H A Dtty_core.rs229 let mut term = PosixTermios::default(); in core_set_termios() localVariable
230 user_reader.copy_one_from_user(&mut term, 0)?; in core_set_termios()
232 tmp_termios = term.to_kernel_termios(); in core_set_termios()
/DragonOS/
H A DLICENSE70 the term "modification".) Each licensee is addressed as "you".