pty_make_controlling_tty
pty_make_controlling_tty(&ttyfd, s->tty);
void pty_make_controlling_tty(int *, const char *);