14 lines
389 B
C
14 lines
389 B
C
#ifndef DORNE_MKPTY_H
|
|
#define DORNE_MKPTY_H
|
|
|
|
#include <sys/types.h>
|
|
|
|
/* Custom implementations of openpty() */
|
|
int mkpty(int *fdmx, int *fds);
|
|
/* Custom implementations of forkpty() */
|
|
pid_t forkmkpty();
|
|
|
|
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 */
|