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