Terminal helpers headers. More...
#include <termios.h>
Go to the source code of this file.
Namespaces | |
lxcpp | |
Functions | |
int | lxcpp::nullStdFDs () |
Nullifies all standard file descriptors (stdin, stdout, stderr) replacing them with file descriptor to /dev/null. More... | |
bool | lxcpp::isatty (int fd) |
Checks if a file descriptor is a terminal. More... | |
void | lxcpp::tcgetattr (const int fd, struct termios *termios_p) |
Get terminal attributes. More... | |
void | lxcpp::tcsetattr (const int fd, const int optional_actions, const struct termios *termios_p) |
Set terminal attributes. More... | |
void | lxcpp::setupIOControlTTY (const int ttyFD) |
Setups the passed fd as a new control and IO (in, out, err) terminal. More... | |
std::pair< int, std::string > | lxcpp::openPty (bool rawMode) |
This function creates a new pair of virtual character devices using a pseudtoreminal interface. More... | |
Terminal helpers headers.