Home
last modified time | relevance | path

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

/xnu-8019.80.24/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.c444 if (ISSET(lflag, ICANON)) { in ttyinput()
461 (!ISSET(lflag, ICANON) || tp->t_canq.c_cc != 0) && in ttyinput()
622 if (!ISSET(tp->t_lflag, EXTPROC) && ISSET(lflag, ICANON)) { in ttyinput()
751 if (!ISSET(lflag, ICANON)) { in ttyinput()
1247 if (ISSET(t->c_lflag, ICANON) != ISSET(tp->t_lflag, ICANON) && in ttioctl_locked()
1249 if (ISSET(t->c_lflag, ICANON)) { in ttioctl_locked()
1623 if (!ISSET(tp->t_lflag, ICANON)) { in ttnread()
2067 qp = ISSET(lflag, ICANON) ? &tp->t_canq : &tp->t_rawq; in ttread()
2073 if (ISSET(lflag, ICANON) || cc[VMIN] != 0) { in ttread()
2079 if (!ISSET(lflag, ICANON)) { in ttread()
[all …]
H A Dtty_dev.c811 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) {
877 (tp->t_canq.c_cc > 0 || !(tp->t_lflag & ICANON))) {
H A Dtty_ptmx.c860 if (tp->t_canq.c_cc == 0 && (tp->t_lflag & ICANON)) { in ptmx_kqops_common()
/xnu-8019.80.24/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