Compat work towards porting vim.

This commit is contained in:
Andreas Kling 2019-02-26 15:57:59 +01:00
commit a356746d04
Notes: sideshowbarker 2024-07-19 15:37:10 +09:00
17 changed files with 200 additions and 77 deletions

View file

@ -39,9 +39,14 @@ int tcflush(int fd, int queue_selector)
assert(false);
}
speed_t cfgetospeed(const struct termios*)
speed_t cfgetispeed(const struct termios* tp)
{
assert(false);
return tp->c_ispeed;
}
speed_t cfgetospeed(const struct termios* tp)
{
return tp->c_ospeed;
}
}