Searched refs:masterfd (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | zcons.c | 268 int masterfd; local 277 if ((masterfd = open(conspath, O_RDWR | O_NOCTTY)) != -1) { 281 if (ioctl(masterfd, ZC_RELEASESLAVE, 292 (void) close(masterfd); 339 int masterfd; local 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; local [all...] |
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 95 static int masterfd; variable 280 masterfd = sockfd; 290 if (write(masterfd, clientid, msglen) != msglen) { 301 while ((err = read(masterfd, &c, 1)) == 1) { 326 masterfd = -1; 339 if ((masterfd = open("/dev/ptmx", O_RDWR|O_NONBLOCK)) < 0) { 371 if (grantpt(masterfd) != 0) { 376 if (unlockpt(masterfd) != 0) { 390 if ((slavename = ptsname(masterfd)) == NULL) { 446 if (zonept(masterfd, zonei [all...] |
Completed in 71 milliseconds