#ifndef DORNE_MKPTY_H #define DORNE_MKPTY_H #include /* Custom implementation of glibc::openpty() */ int mkpty(int *fdmx, int *fds); /* Custom implementation of glibc::login_tty() */ int bindpty(const int fdty); /* Custom implementation of glibc::forkpty() */ pid_t forkmkpty(void); int setptsxy(const unsigned short rows, const unsigned short cols, const int fds); int getptsxy(unsigned short *rows, unsigned short *cols, const int fds); #endif /* DORNE_MKPTY_H */