diff options
Diffstat (limited to 'src/pterm.h')
-rw-r--r-- | src/pterm.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/pterm.h b/src/pterm.h deleted file mode 100644 index 87ce8bc..0000000 --- a/src/pterm.h +++ /dev/null @@ -1,25 +0,0 @@ -#ifndef POTD_PTY_H -#define POTD_PTY_H 1 - -#include <stdlib.h> -#include <pwd.h> - -#define TTYSZ 64 - - -int pty_allocate(int *ptyfd, int *ttyfd, char *namebuf, size_t namebuflen); - -void pty_release(const char *tty); - -void pty_make_controlling_tty(int *ttyfd, const char *tty); - -void pty_change_window_size(int ptyfd, unsigned int row, - unsigned int col, - unsigned int xpixel, - unsigned int ypixel); - -void pty_setowner(struct passwd *pw, const char *tty); - -void disconnect_controlling_tty(void); - -#endif |