mm_pty_allocate
int mm_pty_allocate(int *, int *, char *, size_t);
if (!mm_pty_allocate(&s->ptyfd, &s->ttyfd, s->tty, sizeof(s->tty))) {