blob: 46a99f47e363831599374dfa9de3a7438262859e [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#ifndef _PTY_H
2#define _PTY_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#include <termios.h>
9#include <sys/ioctl.h>
10
11int openpty(int *, int *, char *, const struct termios *, const struct winsize *);
Rich Felker4921ce02011-04-20 20:55:13 -040012int forkpty(int *, char *, const struct termios *, const struct winsize *);
Rich Felker0b44a032011-02-12 00:22:29 -050013
14#ifdef __cplusplus
15extern }
16#endif
17
18#endif