Searched refs:masterfd (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 97 static int masterfd; variable 282 masterfd = sockfd; in get_console_master() 303 while ((err = read(masterfd, &c, 1)) == 1) { in get_console_master() 328 masterfd = -1; in get_console_master() 373 if (grantpt(masterfd) != 0) { in init_slave_pty() 378 if (unlockpt(masterfd) != 0) { in init_slave_pty() 392 if ((slavename = ptsname(masterfd)) == NULL) { in init_slave_pty() 448 if (zonept(masterfd, zoneid) != 0) { in init_slave_pty() 522 (void) ioctl(masterfd, TIOCSWINSZ, &ws); in sigwinch() 1982 doio(masterfd, -1, masterfd, -1, -1, B_FALSE); in main() [all …]
|