1 #ifndef _PTY_H 2 #define _PTY_H 3 4 #ifdef __cplusplus 5 extern "C" { 6 #endif 7 8 #include <termios.h> 9 #include <sys/ioctl.h> 10 11 int openpty(int *, int *, char *, const struct termios *, const struct winsize *); 12 int forkpty(int *, char *, const struct termios *, const struct winsize *); 13 14 #ifdef __cplusplus 15 } 16 #endif 17 18 #endif 19