Home
last modified time | relevance | path

Searched refs:ICANON (Results 1 – 6 of 6) sorted by relevance

/xnu-12377.61.12/bsd/kern/
H A Dtty_compat.c584 if ((lflag & ICANON) == 0) { in ttcompatgetflags()
649 lflag &= ~(ECHOCTL | ISIG | ICANON | IEXTEN); in ttcompatsetflags()
660 lflag &= ~ICANON; in ttcompatsetflags()
662 lflag |= ICANON; in ttcompatsetflags()
H A Dtty.c505 if (ISSET(lflag, ICANON)) { in ttyinput()
522 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) && in ttyinput()
683 if (!ISSET(tp->t_lflag, EXTPROC) && ISSET(lflag, ICANON)) { in ttyinput()
812 if (!ISSET(lflag, ICANON)) { in ttyinput()
1358 if (ISSET(t->c_lflag, ICANON) != ISSET(tp->t_lflag, ICANON) && in ttioctl_locked()
1360 if (ISSET(t->c_lflag, ICANON)) { in ttioctl_locked()
1734 if (!ISSET(tp->t_lflag, ICANON)) { in ttnread()
2178 qp = ISSET(lflag, ICANON) ? &tp->t_canq : &tp->t_rawq; in ttread()
2184 if (ISSET(lflag, ICANON) || cc[VMIN] != 0) { in ttread()
2190 if (!ISSET(lflag, ICANON)) { in ttread()
[all …]
H A Dtty_dev.c854 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) {
920 (tp->t_canq.c_cc > 0 || !(tp->t_lflag & ICANON))) {
H A Dtty_ptmx.c875 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) { in ptmx_kqops_common()
/xnu-12377.61.12/bsd/sys/
H A Dttydefaults.h80 #define TTYDEF_LFLAG (ECHO | ICANON | ISIG | IEXTEN | ECHOE|ECHOKE|ECHOCTL)
H A Dtermios.h247 #define ICANON 0x00000100 /* canonicalize input lines */ macro