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

/freebsd-13-stable/bin/stty/
H A Dstty.h38 int ldisc; /* line discipline */ member in struct:info
H A Dstty.c99 if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0)
113 print(&i.t, &i.win, i.ldisc, fmt);
116 gprint(&i.t, &i.win, i.ldisc);
H A Dprint.c52 print(struct termios *tp, struct winsize *wp, int ldisc, enum FMT fmt) argument
63 if (ldisc != TTYDISC) {
64 switch(ldisc) {
72 cnt += printf("#%d disc; ", ldisc);
H A Dgfmt.c60 gprint(struct termios *tp, struct winsize *wp __unused, int ldisc __unused)
H A Dkey.c136 print(&ip->t, &ip->win, ip->ldisc, BSD);
188 print(&ip->t, &ip->win, ip->ldisc, BSD);
/freebsd-13-stable/contrib/tcsh/
H A Dtc.disc.c154 int ldisc = NTTYDISC; local
156 if (ioctl(f, TIOCSETD, (ioctl_t) & ldisc) != 0)
/freebsd-13-stable/contrib/ntp/ntpd/
H A Drefclock_hpgps.c159 int speed, ldisc; local
167 ldisc = LDISC_CLK;
171 ldisc |= LDISC_7O1;
174 fd = refclock_open(device, speed, ldisc);
/freebsd-13-stable/contrib/ntp/clockstuff/
H A Dchutest.c204 int ldisc; local
207 (void) fprintf(stderr, "Switching to CHU ldisc...");
208 ldisc = CHULDISC;
209 if (ioctl(s, TIOCSETD, (char *)&ldisc) < 0)
/freebsd-13-stable/usr.sbin/ppp/
H A Dtty.c264 int ldisc, cs, ds, hot; local
288 ldisc = NETGRAPHDISC;
289 if (ID0ioctl(p->fd, TIOCSETD, &ldisc) < 0) {

Completed in 174 milliseconds