Lines Matching defs:masterfd
268 int masterfd;
277 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) != -1) {
281 if (ioctl(masterfd, ZC_RELEASESLAVE,
292 (void) close(masterfd);
339 int masterfd;
414 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) == -1) {
424 (void) close(masterfd);
433 if (ioctl(masterfd, ZC_HOLDSLAVE, (caddr_t)(intptr_t)slavefd)
447 (void) close(masterfd);
907 int masterfd;
915 masterfd = open(conspath, O_RDWR|O_NONBLOCK|O_NOCTTY);
916 if (masterfd == -1) {
929 if (ioctl(masterfd, I_SRDOPT, RNORM|RPROTDIS) == -1) {
936 do_console_io(zlogp, masterfd, serverfd);
945 (void) close(masterfd);