diff options
Diffstat (limited to 'mdk-stage1/dietlibc/include/pty.h')
-rw-r--r-- | mdk-stage1/dietlibc/include/pty.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mdk-stage1/dietlibc/include/pty.h b/mdk-stage1/dietlibc/include/pty.h new file mode 100644 index 000000000..fa53d9934 --- /dev/null +++ b/mdk-stage1/dietlibc/include/pty.h @@ -0,0 +1,13 @@ +#ifndef _PTY_H +#define _PTY_H + +#include <sys/cdefs.h> +#include <termios.h> + +/* Create pseudo tty master slave pair with NAME and set terminal + * attributes according to TERMP and WINP and return handles for both + * ends in AMASTER and ASLAVE. */ +extern int openpty (int *__amaster, int *__aslave, char *__name, struct + termios *__termp, struct winsize *__winp) __THROW; + +#endif |