blob: db63853411879851f0cb04ad562e73a7e7634aad [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
Rich Felker4e3df7b2011-11-10 21:01:24 -050015}
Rich Felker0b44a032011-02-12 00:22:29 -050016#endif
17
18#endif