* that will be used for newly inserted
* characters */
+ int pty; /* pty of the process */
pid_t childpid; /* pid of the child process running in the
* terminal; 0 for none. This is READ-ONLY. */
* This function does NOT free() the passed buffer */
void rote_vt_restore_snapshot(RoteTerm *rt, void *snapbuf);
-/* Returns the pseudo tty descriptor associated with the given terminal.
- * Please don't do weird things with it (like close it for instance),
- * or things will break
- *
- * This function returns -1 if the given terminal does not yet have
- * an associated pty. A pty is only associated to a terminal when
- * needed, e.g. on a call to rote_vt_forkpty. */
-int rote_vt_get_pty_fd(RoteTerm *rt);
-
#endif /* MADTTY_MADTTY_H */