Commit | Line | Data |
---|---|---|
2044012d FF |
1 | #ifndef _PTY_H |
2 | #define _PTY_H | |
3 | ||
f3c180bc | 4 | #include <sys/cdefs.h> |
2044012d FF |
5 | #include <termios.h> |
6 | ||
f3c180bc FF |
7 | __BEGIN_DECLS |
8 | ||
2044012d FF |
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 | ||
f3c180bc FF |
15 | __END_DECLS |
16 | ||
2044012d | 17 | #endif |