| /src/usr.sbin/lpr/lpd/ |
| extern.h | 44 int ldisc; /* line discipline */ member in struct:info
|
| /src/sbin/slattach/ |
| slattach.c | 70 static const char *ldisc = "slip"; variable 108 ldisc = optarg; 140 if (ioctl(fd, TIOCSLINED, ldisc) < 0) 154 "usage: %s [-t ldisc] [-hHlmn] [-s baudrate] ttyname\n",
|
| /src/bin/stty/ |
| stty.h | 42 linedn_t ldisc; /* line discipline */ member in struct:info
|
| /src/sys/kern/ |
| tty_conf.c | 266 struct linesw *ldisc; local 278 LIST_FOREACH(ldisc, &ttyldisc_list, l_list) { 279 if (disc->l_no == ldisc->l_no) { 330 struct linesw *ldisc = ttyldisc_lookup(disc->l_name); local 332 KASSERT(ldisc != NULL); 333 KASSERT(ldisc == disc); 334 ttyldisc_release(ldisc);
|
| /src/usr.sbin/sliplogin/ |
| sliplogin.c | 210 int fd, s, ldisc, odisc; local 318 /* find out what ldisc we started with */ 323 ldisc = SLIPDISC; 324 if (ioctl(STDIN_FILENO, TIOCSETD, (caddr_t)&ldisc) < 0) {
|
| /src/external/bsd/ntp/dist/ntpd/ |
| ntp_ppsdev.c | 314 int fdpps, ldisc = N_PPS; local 336 /* If we're root, try to push the PPS LDISC to the tty FD. If 339 if ((0 != geteuid()) || (-1 == ioctl(fdtty, TIOCSETD, &ldisc))) 369 (void)ldisc;
|
| refclock_hpgps.c | 161 int speed, ldisc; local 169 ldisc = LDISC_CLK; 173 ldisc |= LDISC_7O1; 176 fd = refclock_open(&peer->srcadr, device, speed, ldisc);
|
| /src/external/bsd/ntp/dist/clockstuff/ |
| chutest.c | 206 int ldisc; local 209 (void) fprintf(stderr, "Switching to CHU ldisc..."); 210 ldisc = CHULDISC; 211 if (ioctl(s, TIOCSETD, (char *)&ldisc) < 0)
|
| /src/bin/ksh/ |
| jobs.c | 392 int ldisc = NTTYDISC; local 394 if (ioctl(tty_fd, TIOCSETD, &ldisc) < 0)
|
| /src/bin/sh/ |
| jobs.c | 167 int ldisc; local 204 if (ioctl(ttyfd, TIOCGETD, (char *)&ldisc) < 0 205 || ldisc != NTTYDISC) {
|
| /src/sys/dev/pci/ |
| xmm7360.c | 1575 struct tty_ldisc *ldisc = tty_ldisc_ref(qp->port.tty); local 1576 if (ldisc) { 1577 if (ldisc->ops->write_wakeup) 1578 ldisc->ops->write_wakeup(qp->port.tty); 1579 tty_ldisc_deref(ldisc);
|