termux-packages/packages/libutil/pty.h

18 lines
318 B
C
Raw Normal View History

2015-09-12 23:36:00 +02:00
#ifndef _PTY_H
#define _PTY_H
#include <sys/cdefs.h>
2015-09-12 23:36:00 +02:00
#include <termios.h>
__BEGIN_DECLS
2015-09-12 23:36:00 +02:00
int openpty(int* amaster, int* aslave, char* name, struct termios* termp, struct winsize* winp);
int login_tty(int fd);
int forkpty(int* amaster, char* name, struct termios* termp, struct winsize* winp);
__END_DECLS
2015-09-12 23:36:00 +02:00
#endif