Lines Matching refs:mfd
1997 int mfd = -1; in ppp_registered() local
2008 if (!get_pty(&mfd, &local_fd, slave, 0)) { in ppp_registered()
2022 close(mfd); in ppp_registered()
2618 int i, mfd, sfd = -1; local
2626 mfd = open("/dev/ptmx", O_RDWR);
2627 if (mfd >= 0) {
2629 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) {
2634 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0)
2648 mfd = open(pty_name, O_RDWR, 0);
2649 if (mfd >= 0) {
2657 close(mfd);
2666 *master_fdp = mfd;