2011-02-12 05:22:29 +00:00
|
|
|
#ifndef _PTY_H
|
|
|
|
#define _PTY_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <termios.h>
|
|
|
|
#include <sys/ioctl.h>
|
|
|
|
|
|
|
|
int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
|
2011-04-21 00:55:13 +00:00
|
|
|
int forkpty(int *, char *, const struct termios *, const struct winsize *);
|
2011-02-12 05:22:29 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
2011-11-11 02:01:24 +00:00
|
|
|
}
|
2011-02-12 05:22:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|