/usr/include/bobcat/tty is in libbobcat-dev 3.23.01-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | #ifndef INCLUDED_BOBCAT_TTY_
#define INCLUDED_BOBCAT_TTY_
#include <termios.h>
#include <iosfwd>
namespace FBB
{
class Tty
{
struct termios d_tty;
int d_fd;
public:
enum EchoType
{
RESET,
ON,
OFF
};
Tty();
Tty(EchoType type);
~Tty();
bool echo(EchoType type);
private:
};
inline std::istream &operator>>(std::istream &in, Tty const &tty)
{
return in;
}
inline std::ostream &operator<<(std::ostream &out, Tty const &tty)
{
return out;
}
} // FBB
#endif
|