mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibC: Implement tcflush(3)
This commit is contained in:
parent
f4ddca0a73
commit
7a27fa3df8
Notes:
sideshowbarker
2024-07-19 04:58:40 +09:00
Author: https://github.com/petelliott
Commit: 7a27fa3df8
Pull-request: https://github.com/SerenityOS/serenity/pull/2758
3 changed files with 11 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue