Searched refs:ttyfd (Results 1 – 3 of 3) sorted by relevance
| /titanic_53/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
| H A D | main.c | 102 int ttyfd; /* Serial port file descriptor */ variable 582 ttyfd = -1; 670 ttyfd = 0; 678 if ((ttyfd = sys_extra_fd()) < 0) 679 ttyfd = open(devnam, O_NONBLOCK | O_RDWR); 683 if (ttyfd >= 0) 693 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 694 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0) 700 if (fstat(ttyfd, &statbuf) < 0 701 || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) { [all …]
|
| H A D | pppd.h | 188 extern int ttyfd; /* Serial device file descriptor */
|
| H A D | sys-solaris.c | 3611 if (ttyfd == -1) { in sys_print_state() 3620 getbits(ttyfd, devnam, strptr); in sys_print_state() 3622 (fdmuxid = ioctl(pppfd, I_LINK, (void *)ttyfd)) == -1) in sys_print_state()
|