int get_pty_and_fork(int *fd_master, int *fd_slave);