Searched refs:ldisc (Results 1 - 14 of 14) sorted by relevance

/netbsd-6-1-5-RELEASE/bin/stty/
H A Dstty.h42 int ldisc; /* line discipline */ member in struct:info
H A Dstty.c102 if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0)
116 print(&i.t, &i.win, i.ldisc, fmt);
H A Dprint.c55 print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) argument
67 if (ldisc != TTYDISC) {
68 switch(ldisc) {
82 cnt += printf("#%d disc; ", ldisc);
H A Dkey.c149 print(&ip->t, &ip->win, ip->ldisc, STTY_BSD);
188 print(&ip->t, &ip->win, ip->ldisc, STTY_BSD);
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpd/
H A Dextern.h44 int ldisc; /* line discipline */ member in struct:info
H A Dprintjob.c1562 if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0) {
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dtty_conf.c264 struct linesw *ldisc; local
276 LIST_FOREACH(ldisc, &ttyldisc_list, l_list) {
277 if (disc->l_no == ldisc->l_no) {
328 struct linesw *ldisc = ttyldisc_lookup(disc->l_name); local
330 KASSERT(ldisc != NULL);
331 KASSERT(ldisc == disc);
332 ttyldisc_release(ldisc);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/clockstuff/
H A Dclktest.c132 int ldisc; local
133 ldisc = CLKLDISC;
134 if (ioctl(fd, TIOCSETD, (char *)&ldisc) < 0) {
H A Dchutest.c193 int ldisc; local
196 (void) fprintf(stderr, "Switching to CHU ldisc...");
197 ldisc = CHULDISC;
198 if (ioctl(s, TIOCSETD, (char *)&ldisc) < 0)
/netbsd-6-1-5-RELEASE/usr.sbin/sliplogin/
H A Dsliplogin.c209 int fd, s, ldisc, odisc; local
317 /* find out what ldisc we started with */
322 ldisc = SLIPDISC;
323 if (ioctl(STDIN_FILENO, TIOCSETD, (caddr_t)&ldisc) < 0) {
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/ntpd/
H A Drefclock_leitch.c356 int ldisc = CLKLDISC; local
378 if (ioctl(fd232, TIOCSETD, &ldisc) < 0) {
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/tui/
H A Dtui.c497 if (ldisc == NTTYDISC)
/netbsd-6-1-5-RELEASE/bin/sh/
H A Djobs.c145 int ldisc; local
204 if (ioctl(ttyfd, TIOCGETD, (char *)&ldisc) < 0
205 || ldisc != NTTYDISC) {
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Djobs.c404 int ldisc = NTTYDISC; local
406 if (ioctl(tty_fd, TIOCSETD, &ldisc) < 0)

Completed in 245 milliseconds