Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 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 *); |
Rich Felker | 4921ce0 | 2011-04-20 20:55:13 -0400 | [diff] [blame] | 12 | int forkpty(int *, char *, const struct termios *, const struct winsize *); |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 13 | |
| 14 | #ifdef __cplusplus |
Rich Felker | 4e3df7b | 2011-11-10 21:01:24 -0500 | [diff] [blame] | 15 | } |
Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 16 | #endif |
| 17 | |
| 18 | #endif |