Adjust rows and cols of /dev/tty to match the size of attached terminal (emulator)
Go to file
Nedko Arnaudov 2372fc41a8 termsize.c: Check return values of write() and read() calls
While error and short read or write conditions with so small buffers are hard to impossible to trigger,
Checking the values is proper formally so was the warning from the compiler
2023-08-17 03:07:06 +03:00
termsize.c termsize.c: Check return values of write() and read() calls 2023-08-17 03:07:06 +03:00