问题
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?
回答1:
MinGW doesnt fully support POSIX and therefore termios.h is missing.
On the other side, Cygwin is capable of POSIX and termios.h.
来源:https://stackoverflow.com/questions/20772965/where-to-obtain-termios-h