Usermode/libposix - PTY Support (stubbed)
[tpg/acess2.git] / Usermode / Libraries / libposix.so_src / include_exp / pty.h
1 /*
2  * Acess2 POSIX Emulation Layer
3  * - By John Hodge
4  * 
5  * pty.h
6  * - PTY Management
7  *
8  * BSD Conforming (Non-POSIX)
9  */
10 #ifndef _LIBPOSIX__PTY_H_
11 #define _LIBPOSIX__PTY_H_
12
13 #include <termios.h>
14 #include <unistd.h>
15
16 extern int openpty(int *amaster, int *aslave, char *name, const struct termios *termp, const struct winsize *winp);
17 extern pid_t forkpty(int *amaster, char *name, const struct termios *termp, const struct winsize *winp);
18 // - utmp.h?
19 extern int login_tty(int fd);
20
21 #endif
22

UCC git Repository :: git.ucc.asn.au