In my particular situation, I am using MinGW/MSys
. It doesn't contain termios.h
. Turns out that it isn't a library that can be downloaded and installed (Google didn't found any). Termcap
also doesn't include termios.h
.
From where can I get this file?
Description. The /usr/include/termios. h file contains information used by subroutines that apply to terminal files. The definitions, values, and structures in this file are required for compatibility with the POSIX standard. The termios.
The termios functions describe a general terminal interface that is provided to control asynchronous communications ports. The termios structure Many of the functions described here have a termios_p argument that is a pointer to a termios structure.
There's also a termios porting for Windows, called termiWin. This is possible because termios's functions have been rewritten to be compatible with Windows's COM functions.
MinGW doesnt fully support POSIX and therefore termios.h is missing.
On the other side, Cygwin is capable of POSIX and termios.h.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With