fix mkpty function declarations

This commit is contained in:
Emile Clark-Boman 2025-09-09 19:43:54 +10:00
parent a1e34376de
commit 2893caf8ab
3 changed files with 14 additions and 6 deletions

View file

@ -3,10 +3,12 @@
#include <sys/types.h>
/* Custom implementations of openpty() */
/* Custom implementation of glibc::openpty() */
int mkpty(int *fdmx, int *fds);
/* Custom implementations of forkpty() */
pid_t forkmkpty();
/* 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);