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 */ in protocol() local 1357 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) in protocol() 1363 if (ioctl(ptmfd, I_LINK, p) < 0) in protocol() 1373 if (fstat(ptmfd, &buf) < 0) in protocol() 1402 if (ioctl(ptmfd, I_STR, &rloginmod) < 0) in protocol()
|
H A D | in.telnetd.c | 2743 int ptmfd; /* fd of logindmux connected to pty */ in doit() local 2993 if ((ptmfd = open("/dev/logindmux", O_RDWR)) == -1) { in doit() 3000 if (ioctl(ptmfd, I_LINK, p) < 0) in doit() 3009 if (fstat(ptmfd, &buf) < 0) { in doit() 3038 if (ioctl(ptmfd, I_STR, &telnetmod) < 0) in doit() 3042 manager = ptmfd; in doit() 3117 (void) close(ptmfd); in doit()
|