1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

LibC: Implement tcflush(3)

This commit is contained in:
Peter Elliott 2020-07-10 22:19:08 -06:00 committed by Andreas Kling
parent f4ddca0a73
commit 7a27fa3df8
3 changed files with 11 additions and 3 deletions

View file

@ -60,9 +60,7 @@ int tcflow(int fd, int action)
int tcflush(int fd, int queue_selector)
{
(void)fd;
(void)queue_selector;
ASSERT_NOT_REACHED();
return ioctl(fd, TCFLSH, queue_selector);
}
speed_t cfgetispeed(const struct termios* tp)