/* pty.h: Pseudoterminal handling functions. */ #ifndef _PTY_H #define _PTY_H #include #include #ifdef __cplusplus extern "C" { #endif /* Find an available pseudoterminal pair and initialize it, returning file descriptors for both sides. */ int openpty(int* master, int* slave, char* name, const struct termios* term, const struct winsize* win); #ifdef __cplusplus } #endif #endif