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