Searched refs:ttyfd (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | main.c | 99 int ttyfd; /* Serial port file descriptor */ variable 579 ttyfd = -1; 667 ttyfd = 0; 675 if ((ttyfd = sys_extra_fd()) < 0) 676 ttyfd = open(devnam, O_NONBLOCK | O_RDWR); 680 if (ttyfd >= 0) 690 if ((fdflags = fcntl(ttyfd, F_GETFL)) == -1 691 || fcntl(ttyfd, F_SETFL, fdflags & ~O_NONBLOCK) < 0) 697 if (fstat(ttyfd, &statbuf) < 0 698 || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) { [all …]
|
H A D | pppd.h | 195 extern int ttyfd; /* Serial device file descriptor */
|
H A D | sys-solaris.c | 3552 if (ttyfd == -1) { in sys_print_state() 3561 getbits(ttyfd, devnam, strptr); in sys_print_state() 3563 (fdmuxid = ioctl(pppfd, I_LINK, (void *)ttyfd)) == -1) in sys_print_state()
|
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | uart_backend.c | 58 struct ttyfd { struct 86 struct ttyfd tty; 105 ttyopen(struct ttyfd *tf) in ttyopen() 122 ttyread(struct ttyfd *tf) in ttyread() 133 ttywrite(struct ttyfd *tf, unsigned char wb) in ttywrite()
|