1
Fork 0
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:
AnotherTest 2020-07-04 04:20:51 +04:30 committed by Andreas Kling
parent 9609539236
commit 29e00b637e
2 changed files with 80 additions and 0 deletions

View file

@ -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