Lines Matching full:mfd
864 int mfd = -1, sfd = -1;868 mfd = open("/dev/ptmx", O_RDWR | O_NOCTTY);869 if (mfd < 0)872 if (grantpt(mfd) == -1 || unlockpt(mfd) == -1)875 if ((slave = ptsname(mfd)) == NULL)886 *amaster = mfd;897 close(mfd);