blob: fa53d9934df584525fbab30e70bc1ee834d6ec9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
|