openpty
int openpty(int *, int *, char *, const struct termios *,
CHECKe(openpty(&dummy, &fd, NULL, NULL, NULL));
CHECKe(openpty(&dummy, &tty, NULL, NULL, NULL));
res = openpty(&master, &slave, NULL, NULL, NULL);
if (openpty(&massa, &slave, NULL, NULL, NULL) == -1)
if (openpty(&massa, &slave, NULL, &tt, NULL) < 0)
if (openpty(&amaster, &fd, NULL, NULL, NULL) == -1)
if (openpty(&parent_fd, &child_fd, NULL, NULL, NULL) == -1)
if (openpty(&mfd, &sfd, NULL, NULL, NULL) == -1)
if (openpty(&parent_fd, &child_fd, NULL, NULL, NULL) == -1)
if (openpty(&mfd, &sfd, ptyname, NULL, NULL) == -1)
if (openpty(&master, &slave, ptyn, NULL, NULL))
openpty(&master, &slave, NULL, NULL, &ws);
if (openpty(&master, &slave, NULL, &tt, &win) == -1)
i = openpty(ptyfd, ttyfd, buf, NULL, NULL);
if (openpty(&sc->sh_master,
if (openpty(&loop_master, &loop_slave, loop_name, NULL, NULL) == -1) {