mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 10:08:10 +00:00
LibC: Implement cf{g,s}et{i,o}speed
This commit is contained in:
parent
9609539236
commit
29e00b637e
2 changed files with 80 additions and 0 deletions
|
@ -52,6 +52,11 @@ int tcsetattr(int fd, int optional_actions, const struct termios*);
|
|||
int tcflow(int fd, int action);
|
||||
int tcflush(int fd, int queue_selector);
|
||||
|
||||
speed_t cfgetispeed(const struct termios*);
|
||||
speed_t cfgetospeed(const struct termios*);
|
||||
int cfsetispeed(struct termios*, speed_t);
|
||||
int cfsetospeed(struct termios*, speed_t);
|
||||
|
||||
/* c_cc characters */
|
||||
#define VINTR 0
|
||||
#define VQUIT 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue