Searched refs:slavefd (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c365 int slavefd = -1; local
398 if ((slavefd = open(zoneslavename, O_RDWR)) < 0) {
408 if (ioctl(slavefd, I_PUSH, "ptem") == -1) {
419 if (ioctl(slavefd, I_ANCHOR) == -1) {
425 if (ioctl(slavefd, I_PUSH, "ldterm") == -1) {
430 if (ioctl(slavefd, I_PUSH, "ttcompat") == -1) {
439 if (tcsetattr(slavefd, TCSAFLUSH, &save_termios) == -1) {
444 (void) ioctl(slavefd, TIOCSWINSZ, (char *)&winsize);
451 return (slavefd);
454 (void) close(slavefd);
1340 close_func(void *slavefd, int fd) argument
2175 int slavefd, newslave; local
[all...]
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dzcons.c269 int slavefd; local
280 if ((slavefd = open(conspath, O_RDWR | O_NOCTTY)) != -1) {
282 (caddr_t)(intptr_t)slavefd) != 0)
286 (void) close(slavefd);
340 int slavefd; local
421 if ((slavefd = open(conspath, O_RDWR | O_NOCTTY)) == -1) {
433 if (ioctl(masterfd, ZC_HOLDSLAVE, (caddr_t)(intptr_t)slavefd)
446 (void) close(slavefd);

Completed in 533 milliseconds