mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-24 09:53:24 +00:00
Support TCSETSW and TCSETSF for ioctl
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
3eab9cea6e
commit
0018ac4d63
@ -6,6 +6,10 @@ pub enum IoctlCmd {
|
||||
// Get terminal attributes
|
||||
TCGETS = 0x5401,
|
||||
TCSETS = 0x5402,
|
||||
// Drain the output buffer and set attributes
|
||||
TCSETSW = 0x5403,
|
||||
// Drain the output buffer, and discard pending input, and set attributes
|
||||
TCSETSF = 0x5404,
|
||||
// Get the process group ID of the foreground process group on this terminal
|
||||
TIOCGPGRP = 0x540f,
|
||||
// Set the foreground process group ID of this terminal.
|
||||
|
Reference in New Issue
Block a user