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