Commit | Line | Data |
---|---|---|
1 | #ifndef _PTY_H | |
2 | #define _PTY_H | |
3 | ||
4 | #include <sys/cdefs.h> | |
5 | #include <termios.h> | |
6 | ||
7 | __BEGIN_DECLS | |
8 | ||
9 | int openpty(int* amaster, int* aslave, char* name, struct termios* termp, struct winsize* winp); | |
10 | ||
11 | int login_tty(int fd); | |
12 | ||
13 | int forkpty(int* amaster, char* name, struct termios* termp, struct winsize* winp); | |
14 | ||
15 | __END_DECLS | |
16 | ||
17 | #endif |