/netbsd-current/bin/stty/ |
H A D | stty.h | 42 linedn_t ldisc; /* line discipline */ member in struct:info
|
H A D | stty.c | 102 if (ioctl(i.fd, TIOCGLINED, i.ldisc) < 0) 116 print(&i.t, &i.win, i.queue, i.ldisc, fmt);
|
H A D | print.c | 55 print(struct termios *tp, struct winsize *wp, int queue, const char *ldisc, argument 78 if (ldisc) 79 cnt += printf(" line = %s;", ldisc);
|
H A D | key.c | 150 print(&ip->t, &ip->win, ip->queue, ip->ldisc, STTY_BSD); 189 print(&ip->t, &ip->win, ip->queue, ip->ldisc, STTY_BSD);
|
/netbsd-current/sbin/slattach/ |
H A D | 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",
|
/netbsd-current/usr.sbin/lpr/lpd/ |
H A D | extern.h | 44 int ldisc; /* line discipline */ member in struct:info
|
H A D | printjob.c | 1564 if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0) {
|
/netbsd-current/sys/kern/ |
H A D | 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);
|
/netbsd-current/external/bsd/ntp/dist/ntpd/ |
H A D | refclock_hpgps.c | 161 int speed, ldisc; local 169 ldisc = LDISC_CLK; 173 ldisc |= LDISC_7O1; 176 fd = refclock_open(device, speed, ldisc);
|
/netbsd-current/usr.sbin/sliplogin/ |
H A D | 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) {
|
/netbsd-current/external/bsd/ntp/dist/clockstuff/ |
H A D | 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)
|
/netbsd-current/bin/sh/ |
H A D | jobs.c | 167 int ldisc; local 204 if (ioctl(ttyfd, TIOCGETD, (char *)&ldisc) < 0 205 || ldisc != NTTYDISC) {
|
/netbsd-current/bin/ksh/ |
H A D | jobs.c | 392 int ldisc = NTTYDISC; local 394 if (ioctl(tty_fd, TIOCSETD, &ldisc) < 0)
|
/netbsd-current/sys/dev/pci/ |
H A D | 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);
|