LibC/Kernel: Cleanup termios code
This is still not correct, but much better than it used to be
This commit is contained in:
@@ -15,8 +15,8 @@ __BEGIN_DECLS
|
||||
O(SYS_OPENAT, openat) \
|
||||
O(SYS_SEEK, seek) \
|
||||
O(SYS_TELL, tell) \
|
||||
O(SYS_GET_TERMIOS, gettermios) \
|
||||
O(SYS_SET_TERMIOS, settermios) \
|
||||
O(SYS_TCGETATTR, tcgetattr) \
|
||||
O(SYS_TCSETATTR, tcsetattr) \
|
||||
O(SYS_FORK, fork) \
|
||||
O(SYS_EXEC, exec) \
|
||||
O(SYS_SLEEP, sleep) \
|
||||
|
||||
@@ -35,6 +35,8 @@ struct termios
|
||||
tcflag_t c_cflag; /* Control modes. */
|
||||
tcflag_t c_lflag; /* Local modes. */
|
||||
cc_t c_cc[NCCS]; /* Control characters. */
|
||||
speed_t c_ospeed;
|
||||
speed_t c_ispeed;
|
||||
};
|
||||
|
||||
#define BRKINT 0x001
|
||||
|
||||
Reference in New Issue
Block a user