• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/uucp-11/uucp/unix/

Lines Matching refs:ioctl

81 #include <sys/ioctl.h>
173 /* If we have the TIOCSINUSE ioctl call, we use it to lock a terminal.
174 Otherwise, if we have the TIOCEXCL ioctl call, we have to open the
817 if (ioctl (qsysdep->o, TIOCSINUSE, 0) < 0)
820 ulog (LOG_ERROR, "ioctl (TIOCSINUSE): %s", strerror (errno));
822 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
853 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
868 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
898 (void) ioctl (qsysdep->o, TIOCNOTTY, (char *) NULL);
1193 if (ioctl (q->o, TIOCGETD, &iparam) >= 0
1197 (void) ioctl (q->o, TIOCSETD, &iparam);
1205 (void) ioctl (q->o, TIOCHPCL, 0);
1218 (void) ioctl (q->o, TIOCFLUSH, &iparam);
1240 (void) ioctl (q->o, TCFLSH, 0);
1289 (void) ioctl (q->o, TIOCSCTTY, 0);
1510 (void) ioctl (q->o, TIOCNOTTY, (char *) NULL);
1725 (void) ioctl (qsysdep->o, TIOCMODEM, &iperm);
1734 (void) ioctl (qsysdep->o, TIOCCDTR, 0);
1736 (void) ioctl (qsysdep->o, TIOCSDTR, 0);
1834 if (ioctl (q->o, TIOCCAR, 0) < 0)
1836 ulog (LOG_ERROR, "ioctl (TIOCCAR): %s", strerror (errno));
1848 if (ioctl (q->o, TIOCLBIC, &iparam) < 0)
1850 ulog (LOG_ERROR, "ioctl (TIOCLBIC, LNOMDM): %s",
1884 if (ioctl (q->o, TIOCNCAR, 0) < 0)
1886 ulog (LOG_ERROR, "ioctl (TIOCNCAR): %s", strerror (errno));
1898 if (ioctl (q->o, TIOCLBIS, &iparam) < 0)
1900 ulog (LOG_ERROR, "ioctl (TIOCLBIS, LNOMDM): %s",
1999 (void) ioctl (q->o, TXADDCD, "rts");
2033 if (ioctl (q->o, TCGETX, &tx) < 0)
2036 "Can't enable hardware flow control: ioctl (TCGETX): %s",
2041 if (ioctl (q->o, TCSETX, &tx) < 0)
2044 "Can't enable hardware flow control: ioctl (TCSETX): %s",
2058 (void) ioctl (q->o, TXDELCD, "rts");
2092 if (ioctl (q->o, TCGETX, &tx) < 0)
2095 "Can't disable hardware flow control: ioctl (TCGETX): %s",
2100 if (ioctl (q->o, TCSETX, &tx) < 0)
2103 "Can't disable hardware flow control: ioctl (TCSETX): %s",
2172 while (ioctl (q->o, TIOCWONLINE, 0) < 0
2235 (void) ioctl (onew, TIOCSINUSE, 0);
3157 (void) ioctl (q->o, TIOCSBRK, 0);
3159 (void) ioctl (q->o, TIOCCBRK, 0);
3163 (void) ioctl (q->o, TCSBRK, 0);
3309 (void) ioctl (q->o, TIOCLBIS, &i);
3314 (void) ioctl (q->o, TIOCLBIC, &i);
3475 (void) ioctl (q->o, TIOCLBIS, &i);
3486 if (ioctl (q->o, TCGETA, &s) >= 0)
3489 (void) ioctl (q->o, TCSETA, &s);