Fredrik Fornwall
9 years ago
2 changed files with 6 additions and 1 deletions
@ -1,12 +1,17 @@ |
|||||
#ifndef _PTY_H |
#ifndef _PTY_H |
||||
#define _PTY_H |
#define _PTY_H |
||||
|
|
||||
|
#include <sys/cdefs.h> |
||||
#include <termios.h> |
#include <termios.h> |
||||
|
|
||||
|
__BEGIN_DECLS |
||||
|
|
||||
int openpty(int* amaster, int* aslave, char* name, struct termios* termp, struct winsize* winp); |
int openpty(int* amaster, int* aslave, char* name, struct termios* termp, struct winsize* winp); |
||||
|
|
||||
int login_tty(int fd); |
int login_tty(int fd); |
||||
|
|
||||
int forkpty(int* amaster, char* name, struct termios* termp, struct winsize* winp); |
int forkpty(int* amaster, char* name, struct termios* termp, struct winsize* winp); |
||||
|
|
||||
|
__END_DECLS |
||||
|
|
||||
#endif |
#endif |
||||
|
Loading…
Reference in new issue