Searched refs:ptmfd (Results 1 - 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rlogind.c | 1337 int ptmfd; /* fd of logindmux coneected to ptmx */ local 1357 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) 1363 if (ioctl(ptmfd, I_LINK, p) < 0) 1373 if (fstat(ptmfd, &buf) < 0) 1402 if (ioctl(ptmfd, I_STR, &rloginmod) < 0) 1403 fatal(netfd, "ioctl LOGDMXZ_IOC_QEXCHANGE of ptmfd failed\n");
|
H A D | in.telnetd.c | 2743 int ptmfd; /* fd of logindmux connected to pty */ local 2993 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) { 3000 if (ioctl(ptmfd, I_LINK, p) < 0) 3009 if (fstat(ptmfd, &buf) < 0) { 3010 fatalperror(f, "fstat ptmfd failed", errno); 3038 if (ioctl(ptmfd, I_STR, &telnetmod) < 0) 3039 fatal(netfd, "ioctl LOGDMX_IOC_QEXCHANGE of ptmfd failed\n"); 3042 master = ptmfd; 3117 (void) close(ptmfd);
|
Completed in 68 milliseconds