mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Fix the build and introduce some APIs
The tcgetwinsize() and tcsetwinsize() APIs are now available. The printargs.com example also now displays the baud rate.
This commit is contained in:
parent
cac86197cb
commit
1473eafd1a
6 changed files with 120 additions and 2 deletions
|
@ -35,6 +35,8 @@ int cfsetospeed(struct termios *, unsigned);
|
|||
int cfsetispeed(struct termios *, unsigned);
|
||||
uint32_t cfgetospeed(const struct termios *);
|
||||
uint32_t cfgetispeed(const struct termios *);
|
||||
int tcsetwinsize(int, const struct winsize *);
|
||||
int tcgetwinsize(int, struct winsize *);
|
||||
|
||||
/*───────────────────────────────────────────────────────────────────────────│─╗
|
||||
│ cosmopolitan § teletypewriter » undiamonding ─╬─│┼
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue