1
0

pty.h 243 B

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