Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where to obtain termios.h [closed]

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?

like image 499
Soergener Avatar asked Dec 25 '13 12:12

Soergener


People also ask

What is Termios h in C?

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.

What is Termios in Linux?

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.

Does Termios work on Windows?

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.


1 Answers

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

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

like image 154
Hartmut Pfarr Avatar answered Oct 16 '22 04:10

Hartmut Pfarr