termux-packages/packages/libutil/pty.h

13 lines
267 B
C
Raw Normal View History

2015-09-12 23:36:00 +02:00
#ifndef _PTY_H
#define _PTY_H
#include <termios.h>
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);
#endif