pty.h 312 B

123456789101112131415161718
  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. int forkpty(int *, char *, const struct termios *, const struct winsize *);
  10. #ifdef __cplusplus
  11. }
  12. #endif
  13. #endif