Searched refs:fd232 (Results 1 - 3 of 3) sorted by relevance

/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_leitch.c244 int fd232; local
264 fd232 = open(leitchdev, O_RDWR, 0777);
265 if (fd232 == -1) {
280 if (ioctl(fd232, TCGETA, &ttyb) < 0) {
290 if (ioctl(fd232, TCSETA, &ttyb) < 0) {
304 if (tcgetattr(fd232, ttyp) < 0) {
314 if (tcsetattr(fd232, TCSANOW, ttyp) < 0) {
319 if (tcflush(fd232, TCIOFLUSH) < 0) {
333 if (ioctl(fd232, TIOCGETP, &ttyb) < 0) {
341 if (ioctl(fd232, TIOCSET
[all...]
H A Drefclock_msfees.c436 int fd232 = -1; local
456 fd232 = open(eesdev, O_RDWR, 0777);
457 if (fd232 == -1) {
464 if (ioctl(fd232, TIOCEXCL, (char *)0) < 0) {
483 if (tcgetattr(fd232, ttyp) < 0) {
493 if (tcsetattr(fd232, TCSANOW, ttyp) < 0) {
498 if (tcflush(fd232, TCIOFLUSH) < 0) {
539 ees->io.fd = fd232;
550 while (ioctl(fd232, I_POP, 0 ) >= 0) ;
553 if ((rc1=ioctl(fd232, I_PUS
[all...]
H A Drefclock_parse.c2985 int fd232; local
3031 fd232 = tty_open(parsedev, O_RDWR | O_NOCTTY | O_NONBLOCK, 0777);
3033 if (fd232 == -1)
3086 parse->generic->io.fd = fd232;
3093 if (TTY_GETATTR(fd232, &tio) == -1)
3095 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcgetattr(%d, &tio): %m", unit, fd232);
3157 parse->ppsfd = fd232;
3224 if (TTY_SETATTR(fd232, &tio) == -1)
3226 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcsetattr(%d, &tio): %m", unit, fd232);

Completed in 75 milliseconds