Where to obtain termios.h

Soergener picture Soergener · Dec 25, 2013 · Viewed 8.6k times · Source

In my particular situation I am using MinGW/MSys. It doesn't contain termios.h. Turns out it isn't a library that can be downloaded and installed (google didn't found any). Termcap also doesn't include termios.h.

Where from to get this file?

Answer

Hartmut P. picture Hartmut P. · Apr 28, 2014

MinGW doesnt fully support POSIX and therefore termios.h is missing.

On the other side, Cygwin is capable of POSIX and termios.h.